#B97CD8#B97CD8

#B97CD8 is a light, vivid violet. Relative luminance 0.297; OKLCH L 68.3% C 0.145 H 313.5°. Best body text is #000000 at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#B97CD8
RGBrgb(185, 124, 216)
HSLhsl(280, 54%, 67%)
HSVhsv(280, 43%, 85%)
CMYKcmyk(14.4%, 42.6%, 0%, 15.3%)
CIE-LABlab(61.38, 39.91, -38.03)
CIE-LCHlch(61.38, 55.13, 316.38°)
OKLaboklab(68.34% 0.1001 -0.1053)
OKLCHoklch(68.34% 0.145 313.5)
XYZxyz(39.6079, 29.6883, 68.5964)
Luminance0.2969 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B97CD8 #9BD87C
analogous
#8B7CD8 #B97CD8 #D87CC9
triadic
#B97CD8 #D8B97C #7CD8B9
tetradic
#B97CD8 #D88B7C #9BD87C #7CC9D8
square
#B97CD8 #D88B7C #9BD87C #7CC9D8
split-complementary
#B97CD8 #C9D87C #7CD88B
monochromatic
#8032A8 #A04DCA #B97CD8 #D2ABE6 #EBDAF4

Accessibility & contrast

On white

3.03
#B97CD8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.94
#B97CD8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B97CD8
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B97CD8#FFFFFF#000000##000000
##B97CD81.003.036.946.94
#FFFFFF3.031.0021.0021.00
#0000006.9421.001.001.00
##0000006.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A91DB
Deuteranopia (green-blind)
#7A96D5
Tritanopia (blue-blind)
#B789A0
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #b97cd8;
/* rgb */ color: rgb(185, 124, 216);
/* oklch */ color: oklch(68.3% 0.145 313.5);
Tailwind
colors: {
  custom: {
    50: '#cfa3e4',
    500: '#b97cd8',
    950: '#000000',
  },
}
SCSS
$custom: #b97cd8;
$custom-light: #cfa3e4;
$custom-dark: #000000;
JSON
{
  "hex": "#b97cd8",
  "rgb": {
    "r": 185,
    "g": 124,
    "b": 216
  },
  "hsl": {
    "h": 279.783,
    "s": 54.118,
    "l": 66.667
  },
  "oklch": {
    "l": 0.68335,
    "c": 0.14527,
    "h": 313.5
  },
  "luminance": 0.29687
}

Semantic roles & 50–950 ramp

primary
#B97CD8
secondary
#D3E7C9
accent
#C22459
background
#FCFAFE
surface
#F9F4FC
border
#D2CED5
text
#140F15
muted
#827F84

Preview Lab

Preview with #B97CD8

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

Preview Lab → · Contrast checker → · Palette generator →

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