#B97CEC#B97CEC

#B97CEC is a light, vivid violet. Relative luminance 0.308; OKLCH L 69.3% C 0.168 H 307.7°. Best body text is #000000 at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#B97CEC
RGBrgb(185, 124, 236)
HSLhsl(273, 75%, 71%)
HSVhsv(273, 47%, 93%)
CMYKcmyk(21.6%, 47.5%, 0%, 7.5%)
CIE-LABlab(62.33, 44.29, -47.69)
CIE-LCHlch(62.33, 65.08, 312.88°)
OKLaboklab(69.35% 0.1031 -0.1333)
OKLCHoklch(69.35% 0.168 307.7)
XYZxyz(42.3526, 30.7862, 83.0518)
Luminance0.3079 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B97CEC #AFEC7C
analogous
#817CEC #B97CEC #EC7CE7
triadic
#B97CEC #ECB97C #7CECB9
tetradic
#B97CEC #EC817C #AFEC7C #7CE7EC
square
#B97CEC #EC817C #AFEC7C #7CE7EC
split-complementary
#B97CEC #E7EC7C #7CEC81
monochromatic
#7F1ED0 #9C47E4 #B97CEC #D6B1F4 #F1E4FB

Accessibility & contrast

On white

2.93
#B97CEC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.16
#B97CEC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B97CEC
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B97CEC#FFFFFF#000000##000000
##B97CEC1.002.937.167.16
#FFFFFF2.931.0021.0021.00
#0000007.1621.001.001.00
##0000007.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F94F0
Deuteranopia (green-blind)
#6F97E9
Tritanopia (blue-blind)
#B28FA9
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #b97cec;
/* rgb */ color: rgb(185, 124, 236);
/* oklch */ color: oklch(69.3% 0.168 307.7);
Tailwind
colors: {
  custom: {
    50: '#d0a3f2',
    500: '#b97cec',
    950: '#000000',
  },
}
SCSS
$custom: #b97cec;
$custom-light: #d0a3f2;
$custom-dark: #000000;
JSON
{
  "hex": "#b97cec",
  "rgb": {
    "r": 185,
    "g": 124,
    "b": 236
  },
  "hsl": {
    "h": 272.679,
    "s": 74.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.69347,
    "c": 0.16848,
    "h": 307.7
  },
  "luminance": 0.30786
}

Semantic roles & 50–950 ramp

primary
#B97CEC
secondary
#E1F1D3
accent
#D70F6A
background
#FDFAFE
surface
#FAF4FD
border
#D3CED5
text
#140F17
muted
#837F85

Preview Lab

Preview with #B97CEC

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

Preview Lab → · Contrast checker → · Palette generator →

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