#B97EED#B97EED

#B97EED is a light, vivid violet. Relative luminance 0.314; OKLCH L 69.7% C 0.166 H 307.1°. Best body text is #000000 at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#B97EED
RGBrgb(185, 126, 237)
HSLhsl(272, 76%, 71%)
HSVhsv(272, 47%, 93%)
CMYKcmyk(21.9%, 46.8%, 0%, 7.1%)
CIE-LABlab(62.80, 43.43, -47.49)
CIE-LCHlch(62.80, 64.36, 312.44°)
OKLaboklab(69.72% 0.1005 -0.1327)
OKLCHoklch(69.72% 0.166 307.1)
XYZxyz(42.7514, 31.3508, 83.9035)
Luminance0.3135 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B97EED #B2ED7E
analogous
#817EED #B97EED #ED7EE9
triadic
#B97EED #EDB97E #7EEDB9
tetradic
#B97EED #ED817E #B2ED7E #7EE9ED
square
#B97EED #ED817E #B2ED7E #7EE9ED
split-complementary
#B97EED #E9ED7E #7EED81
monochromatic
#7E1DD3 #9C48E6 #B97EED #D6B4F4 #F0E4FB

Accessibility & contrast

On white

2.89
#B97EED on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.27
#B97EED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B97EED
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B97EED#FFFFFF#000000##000000
##B97EED1.002.897.277.27
#FFFFFF2.891.0021.0021.00
#0000007.2721.001.001.00
##0000007.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6196F1
Deuteranopia (green-blind)
#7199EA
Tritanopia (blue-blind)
#B191AA
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #b97eed;
/* rgb */ color: rgb(185, 126, 237);
/* oklch */ color: oklch(69.7% 0.166 307.1);
Tailwind
colors: {
  custom: {
    50: '#d0a5f3',
    500: '#b97eed',
    950: '#000000',
  },
}
SCSS
$custom: #b97eed;
$custom-light: #d0a5f3;
$custom-dark: #000000;
JSON
{
  "hex": "#b97eed",
  "rgb": {
    "r": 185,
    "g": 126,
    "b": 237
  },
  "hsl": {
    "h": 271.892,
    "s": 75.51,
    "l": 71.176
  },
  "oklch": {
    "l": 0.69718,
    "c": 0.16646,
    "h": 307.1
  },
  "luminance": 0.3135
}

Semantic roles & 50–950 ramp

primary
#B97EED
secondary
#E2F2D5
accent
#D80E6C
background
#FDFAFE
surface
#FAF4FD
border
#D3CED5
text
#140F17
muted
#837F85

Preview Lab

Preview with #B97EED

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

Preview Lab → · Contrast checker → · Palette generator →

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