#B977EB#B977EB

#B977EB is a light, vivid violet. Relative luminance 0.295; OKLCH L 68.5% C 0.175 H 308.7°. Best body text is #000000 at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#B977EB
RGBrgb(185, 119, 235)
HSLhsl(274, 74%, 69%)
HSVhsv(274, 49%, 92%)
CMYKcmyk(21.3%, 49.4%, 0%, 7.8%)
CIE-LABlab(61.23, 46.74, -48.88)
CIE-LCHlch(61.23, 67.63, 313.72°)
OKLaboklab(68.51% 0.1097 -0.1367)
OKLCHoklch(68.51% 0.175 308.7)
XYZxyz(41.5969, 29.5067, 82.0852)
Luminance0.2951 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B977EB #A9EB77
analogous
#7F77EB #B977EB #EB77E3
triadic
#B977EB #EBB977 #77EBB9
tetradic
#B977EB #EB7F77 #A9EB77 #77E3EB
square
#B977EB #EB7F77 #A9EB77 #77E3EB
split-complementary
#B977EB #E3EB77 #77EB7F
monochromatic
#801ECA #9E42E3 #B977EB #D4ACF3 #F0E2FB

Accessibility & contrast

On white

3.04
#B977EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.90
#B977EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B977EB
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B977EB#FFFFFF#000000##000000
##B977EB1.003.046.906.90
#FFFFFF3.041.0021.0021.00
#0000006.9021.001.001.00
##0000006.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5891EF
Deuteranopia (green-blind)
#6B95E8
Tritanopia (blue-blind)
#B28BA6
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #b977eb;
/* rgb */ color: rgb(185, 119, 235);
/* oklch */ color: oklch(68.5% 0.175 308.7);
Tailwind
colors: {
  custom: {
    50: '#d0a0f2',
    500: '#b977eb',
    950: '#000000',
  },
}
SCSS
$custom: #b977eb;
$custom-light: #d0a0f2;
$custom-dark: #000000;
JSON
{
  "hex": "#b977eb",
  "rgb": {
    "r": 185,
    "g": 119,
    "b": 235
  },
  "hsl": {
    "h": 274.138,
    "s": 74.359,
    "l": 69.412
  },
  "oklch": {
    "l": 0.68512,
    "c": 0.17527,
    "h": 308.7
  },
  "luminance": 0.29506
}

Semantic roles & 50–950 ramp

primary
#B977EB
secondary
#DDF0CE
accent
#D60F65
background
#FDF9FE
surface
#FAF2FD
border
#D3CCD5
text
#140F17
muted
#837E85

Preview Lab

Preview with #B977EB

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

Preview Lab → · Contrast checker → · Palette generator →

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