#B97EEF#B97EEF

#B97EEF is a light, vivid violet. Relative luminance 0.315; OKLCH L 69.8% C 0.169 H 306.6°. Best body text is #000000 at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#B97EEF
RGBrgb(185, 126, 239)
HSLhsl(271, 78%, 72%)
HSVhsv(271, 47%, 94%)
CMYKcmyk(22.6%, 47.3%, 0%, 6.3%)
CIE-LABlab(62.90, 43.88, -48.44)
CIE-LCHlch(62.90, 65.36, 312.17°)
OKLaboklab(69.82% 0.1007 -0.1355)
OKLCHoklch(69.82% 0.169 306.6)
XYZxyz(43.0453, 31.4684, 85.4510)
Luminance0.3147 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B97EEF #B4EF7E
analogous
#817EEF #B97EEF #EF7EED
triadic
#B97EEF #EFB97E #7EEFB9
tetradic
#B97EEF #EF817E #B4EF7E #7EEDEF
square
#B97EEF #EF817E #B4EF7E #7EEDEF
split-complementary
#B97EEF #EDEF7E #7EEF81
monochromatic
#7D1BD8 #9B48E8 #B97EEF #D7B4F6 #F0E4FC

Accessibility & contrast

On white

2.88
#B97EEF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.29
#B97EEF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B97EEF
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B97EEF#FFFFFF#000000##000000
##B97EEF1.002.887.297.29
#FFFFFF2.881.0021.0021.00
#0000007.2921.001.001.00
##0000007.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6096F3
Deuteranopia (green-blind)
#7099EC
Tritanopia (blue-blind)
#B191AB
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #b97eef;
/* rgb */ color: rgb(185, 126, 239);
/* oklch */ color: oklch(69.8% 0.169 306.6);
Tailwind
colors: {
  custom: {
    50: '#d0a5f5',
    500: '#b97eef',
    950: '#000000',
  },
}
SCSS
$custom: #b97eef;
$custom-light: #d0a5f5;
$custom-dark: #000000;
JSON
{
  "hex": "#b97eef",
  "rgb": {
    "r": 185,
    "g": 126,
    "b": 239
  },
  "hsl": {
    "h": 271.327,
    "s": 77.931,
    "l": 71.569
  },
  "oklch": {
    "l": 0.69824,
    "c": 0.16882,
    "h": 306.6
  },
  "luminance": 0.31468
}

Semantic roles & 50–950 ramp

primary
#B97EEF
secondary
#E4F3D6
accent
#DA0B6E
background
#FDFAFF
surface
#FAF4FE
border
#D3CED6
text
#140F17
muted
#837F85

Preview Lab

Preview with #B97EEF

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

Preview Lab → · Contrast checker → · Palette generator →

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