#B38FFD#B38FFD

#B38FFD is a light, vivid violet. Relative luminance 0.363; OKLCH L 72.8% C 0.158 H 297.4°. Best body text is #000000 at 8.26:1 contrast (WCAG AA passes).

Color values

HEX#B38FFD
RGBrgb(179, 143, 253)
HSLhsl(260, 96%, 78%)
HSVhsv(260, 43%, 99%)
CMYKcmyk(29.2%, 43.5%, 0%, 0.8%)
CIE-LABlab(66.76, 36.22, -50.07)
CIE-LCHlch(66.76, 61.79, 305.88°)
OKLaboklab(72.81% 0.0728 -0.1404)
OKLCHoklch(72.81% 0.158 297.4)
XYZxyz(46.1382, 36.3200, 97.4892)
Luminance0.3632 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B38FFD #D9FD8F
analogous
#8FA2FD #B38FFD #EA8FFD
triadic
#B38FFD #FDB38F #8FFDB3
tetradic
#B38FFD #FD8FA2 #D9FD8F #8FFDEA
square
#B38FFD #FD8FA2 #D9FD8F #8FFDEA
split-complementary
#B38FFD #FDEA8F #A2FD8F
monochromatic
#6117FB #8A53FC #B38FFD #DCCBFE #EBE1FE

Accessibility & contrast

On white

2.54
#B38FFD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.26
#B38FFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B38FFD
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B38FFD#FFFFFF#000000##000000
##B38FFD1.002.548.268.26
#FFFFFF2.541.0021.0021.00
#0000008.2621.001.001.00
##0000008.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6EA3FF
Deuteranopia (green-blind)
#75A1FA
Tritanopia (blue-blind)
#A4A3BA
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #b38ffd;
/* rgb */ color: rgb(179, 143, 253);
/* oklch */ color: oklch(72.8% 0.158 297.4);
Tailwind
colors: {
  custom: {
    50: '#ccb0fe',
    500: '#b38ffd',
    950: '#000000',
  },
}
SCSS
$custom: #b38ffd;
$custom-light: #ccb0fe;
$custom-dark: #000000;
JSON
{
  "hex": "#b38ffd",
  "rgb": {
    "r": 179,
    "g": 143,
    "b": 253
  },
  "hsl": {
    "h": 259.636,
    "s": 96.491,
    "l": 77.647
  },
  "oklch": {
    "l": 0.72808,
    "c": 0.15814,
    "h": 297.4
  },
  "luminance": 0.3632
}

Semantic roles & 50–950 ramp

primary
#B38FFD
secondary
#EBF7D4
accent
#E6009A
background
#FCFAFF
surface
#F9F5FF
border
#D2CFD7
text
#141018
muted
#827F86

Preview Lab

Preview with #B38FFD

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#B38FFD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva