#B977EF#B977EF

#B977EF is a light, vivid violet. Relative luminance 0.297; OKLCH L 68.7% C 0.180 H 307.7°. Best body text is #000000 at 6.95:1 contrast (WCAG AA passes).

Color values

HEX#B977EF
RGBrgb(185, 119, 239)
HSLhsl(273, 79%, 70%)
HSVhsv(273, 50%, 94%)
CMYKcmyk(22.6%, 50.2%, 0%, 6.3%)
CIE-LABlab(61.43, 47.64, -50.77)
CIE-LCHlch(61.43, 69.62, 313.17°)
OKLaboklab(68.73% 0.1101 -0.1422)
OKLCHoklch(68.73% 0.18 307.7)
XYZxyz(42.1813, 29.7404, 85.1630)
Luminance0.2974 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B977EF #ADEF77
analogous
#7D77EF #B977EF #EF77E9
triadic
#B977EF #EFB977 #77EFB9
tetradic
#B977EF #EF7D77 #ADEF77 #77E9EF
square
#B977EF #EF7D77 #ADEF77 #77E9EF
split-complementary
#B977EF #E9EF77 #77EF7D
monochromatic
#7F19D3 #9D40E9 #B977EF #D5AEF5 #F1E4FC

Accessibility & contrast

On white

3.02
#B977EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.95
#B977EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B977EF
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B977EF#FFFFFF#000000##000000
##B977EF1.003.026.956.95
#FFFFFF3.021.0021.0021.00
#0000006.9521.001.001.00
##0000006.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5592F3
Deuteranopia (green-blind)
#6995EC
Tritanopia (blue-blind)
#B18CA8
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #b977ef;
/* rgb */ color: rgb(185, 119, 239);
/* oklch */ color: oklch(68.7% 0.180 307.7);
Tailwind
colors: {
  custom: {
    50: '#d0a0f5',
    500: '#b977ef',
    950: '#000000',
  },
}
SCSS
$custom: #b977ef;
$custom-light: #d0a0f5;
$custom-dark: #000000;
JSON
{
  "hex": "#b977ef",
  "rgb": {
    "r": 185,
    "g": 119,
    "b": 239
  },
  "hsl": {
    "h": 273,
    "s": 78.947,
    "l": 70.196
  },
  "oklch": {
    "l": 0.68729,
    "c": 0.17985,
    "h": 307.7
  },
  "luminance": 0.2974
}

Semantic roles & 50–950 ramp

primary
#B977EF
secondary
#DFF2D0
accent
#DB0A68
background
#FDFAFF
surface
#FAF3FE
border
#D3CDD6
text
#140F17
muted
#837F85

Preview Lab

Preview with #B977EF

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

Preview Lab → · Contrast checker → · Palette generator →

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