#B97CED#B97CED

#B97CED is a light, vivid violet. Relative luminance 0.308; OKLCH L 69.4% C 0.170 H 307.5°. Best body text is #000000 at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#B97CED
RGBrgb(185, 124, 237)
HSLhsl(272, 76%, 71%)
HSVhsv(272, 48%, 93%)
CMYKcmyk(21.9%, 47.7%, 0%, 7.1%)
CIE-LABlab(62.38, 44.51, -48.17)
CIE-LCHlch(62.38, 65.58, 312.74°)
OKLaboklab(69.4% 0.1032 -0.1347)
OKLCHoklch(69.4% 0.17 307.5)
XYZxyz(42.4983, 30.8445, 83.8191)
Luminance0.3084 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B97CED #B0ED7C
analogous
#807CED #B97CED #ED7CE9
triadic
#B97CED #EDB97C #7CEDB9
tetradic
#B97CED #ED807C #B0ED7C #7CE9ED
square
#B97CED #ED807C #B0ED7C #7CE9ED
split-complementary
#B97CED #E9ED7C #7CED80
monochromatic
#7F1DD2 #9C46E6 #B97CED #D6B2F4 #F1E4FB

Accessibility & contrast

On white

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

On black

7.17
#B97CED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B97CED
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B97CED#FFFFFF#000000##000000
##B97CED1.002.937.177.17
#FFFFFF2.931.0021.0021.00
#0000007.1721.001.001.00
##0000007.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E94F1
Deuteranopia (green-blind)
#6F97EA
Tritanopia (blue-blind)
#B18FA9
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #b97ced;
/* rgb */ color: rgb(185, 124, 237);
/* oklch */ color: oklch(69.4% 0.170 307.5);
Tailwind
colors: {
  custom: {
    50: '#d0a3f3',
    500: '#b97ced',
    950: '#000000',
  },
}
SCSS
$custom: #b97ced;
$custom-light: #d0a3f3;
$custom-dark: #000000;
JSON
{
  "hex": "#b97ced",
  "rgb": {
    "r": 185,
    "g": 124,
    "b": 237
  },
  "hsl": {
    "h": 272.389,
    "s": 75.839,
    "l": 70.784
  },
  "oklch": {
    "l": 0.694,
    "c": 0.16965,
    "h": 307.5
  },
  "luminance": 0.30844
}

Semantic roles & 50–950 ramp

primary
#B97CED
secondary
#E1F2D3
accent
#D80D6B
background
#FDFAFE
surface
#FAF4FD
border
#D3CED5
text
#140F17
muted
#837F85

Preview Lab

Preview with #B97CED

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

Preview Lab → · Contrast checker → · Palette generator →

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