#B39FF2#B39FF2

#B39FF2 is a light, moderate violet. Relative luminance 0.408; OKLCH L 75.1% C 0.119 H 294.4°. Best body text is #000000 at 9.16:1 contrast (WCAG AA passes).

Color values

HEX#B39FF2
RGBrgb(179, 159, 242)
HSLhsl(254, 76%, 79%)
HSVhsv(254, 34%, 95%)
CMYKcmyk(26%, 34.3%, 0%, 5.1%)
CIE-LABlab(70.03, 24.61, -38.94)
CIE-LCHlch(70.03, 46.07, 302.29°)
OKLaboklab(75.12% 0.0492 -0.1082)
OKLCHoklch(75.12% 0.119 294.4)
XYZxyz(47.0117, 40.7902, 89.3837)
Luminance0.4079 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B39FF2 #DEF29F
analogous
#9FB4F2 #B39FF2 #DC9FF2
triadic
#B39FF2 #F2B39F #9FF2B3
tetradic
#B39FF2 #F29FB4 #DEF29F #9FF2DC
square
#B39FF2 #F29FB4 #DEF29F #9FF2DC
split-complementary
#B39FF2 #F2DC9F #B4F29F
monochromatic
#5E33E3 #8869EB #B39FF2 #DED5F9 #EAE4FB

Accessibility & contrast

On white

2.29
#B39FF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.16
#B39FF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B39FF2
9.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B39FF2#FFFFFF#000000##000000
##B39FF21.002.299.169.16
#FFFFFF2.291.0021.0021.00
#0000009.1621.001.001.00
##0000009.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#89ACF5
Deuteranopia (green-blind)
#8CAAF0
Tritanopia (blue-blind)
#A6ADBD
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #b39ff2;
/* rgb */ color: rgb(179, 159, 242);
/* oklch */ color: oklch(75.1% 0.119 294.4);
Tailwind
colors: {
  custom: {
    50: '#cbbbf6',
    500: '#b39ff2',
    950: '#000000',
  },
}
SCSS
$custom: #b39ff2;
$custom-light: #cbbbf6;
$custom-dark: #000000;
JSON
{
  "hex": "#b39ff2",
  "rgb": {
    "r": 179,
    "g": 159,
    "b": 242
  },
  "hsl": {
    "h": 254.458,
    "s": 76.147,
    "l": 78.627
  },
  "oklch": {
    "l": 0.75124,
    "c": 0.11883,
    "h": 294.4
  },
  "luminance": 0.40791
}

Semantic roles & 50–950 ramp

primary
#B39FF2
secondary
#EDF3D8
accent
#D80DA7
background
#FCFBFF
surface
#F9F6FE
border
#D2D0D6
text
#131217
muted
#828185

Preview Lab

Preview with #B39FF2

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

Preview Lab → · Contrast checker → · Palette generator →

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