#B97CD9#B97CD9

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

Color values

HEX#B97CD9
RGBrgb(185, 124, 217)
HSLhsl(279, 55%, 67%)
HSVhsv(279, 43%, 85%)
CMYKcmyk(14.7%, 42.9%, 0%, 14.9%)
CIE-LABlab(61.43, 40.13, -38.52)
CIE-LCHlch(61.43, 55.62, 316.17°)
OKLaboklab(68.38% 0.1003 -0.1067)
OKLCHoklch(68.38% 0.146 313.2)
XYZxyz(39.7375, 29.7402, 69.2793)
Luminance0.2974 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B97CD9 #9CD97C
analogous
#8B7CD9 #B97CD9 #D97CCB
triadic
#B97CD9 #D9B97C #7CD9B9
tetradic
#B97CD9 #D98B7C #9CD97C #7CCBD9
square
#B97CD9 #D98B7C #9CD97C #7CCBD9
split-complementary
#B97CD9 #CBD97C #7CD98B
monochromatic
#8031A9 #A04DCB #B97CD9 #D2ABE7 #ECDBF5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B97CD9#FFFFFF#000000##000000
##B97CD91.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)
#6A91DC
Deuteranopia (green-blind)
#7A96D6
Tritanopia (blue-blind)
#B689A0
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #b97cd9;
/* rgb */ color: rgb(185, 124, 217);
/* oklch */ color: oklch(68.4% 0.146 313.2);
Tailwind
colors: {
  custom: {
    50: '#cfa3e5',
    500: '#b97cd9',
    950: '#000000',
  },
}
SCSS
$custom: #b97cd9;
$custom-light: #cfa3e5;
$custom-dark: #000000;
JSON
{
  "hex": "#b97cd9",
  "rgb": {
    "r": 185,
    "g": 124,
    "b": 217
  },
  "hsl": {
    "h": 279.355,
    "s": 55.03,
    "l": 66.863
  },
  "oklch": {
    "l": 0.68383,
    "c": 0.14642,
    "h": 313.2
  },
  "luminance": 0.29739
}

Semantic roles & 50–950 ramp

primary
#B97CD9
secondary
#D4E7CA
accent
#C3235A
background
#FCFAFE
surface
#F9F4FC
border
#D2CED5
text
#140F16
muted
#827F84

Preview Lab

Preview with #B97CD9

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

Preview Lab → · Contrast checker → · Palette generator →

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