#B97FED#B97FED

#B97FED is a light, vivid violet. Relative luminance 0.316; OKLCH L 69.9% C 0.165 H 307.0°. Best body text is #000000 at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#B97FED
RGBrgb(185, 127, 237)
HSLhsl(272, 75%, 71%)
HSVhsv(272, 46%, 93%)
CMYKcmyk(21.9%, 46.4%, 0%, 7.1%)
CIE-LABlab(63.02, 42.89, -47.15)
CIE-LCHlch(63.02, 63.74, 312.29°)
OKLaboklab(69.88% 0.0991 -0.1317)
OKLCHoklch(69.88% 0.165 307)
XYZxyz(42.8800, 31.6079, 83.9463)
Luminance0.3161 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B97FED #B3ED7F
analogous
#827FED #B97FED #ED7FEA
triadic
#B97FED #EDB97F #7FEDB9
tetradic
#B97FED #ED827F #B3ED7F #7FEAED
square
#B97FED #ED827F #B3ED7F #7FEAED
split-complementary
#B97FED #EAED7F #7FED82
monochromatic
#7E1ED4 #9C49E5 #B97FED #D6B5F5 #F0E4FB

Accessibility & contrast

On white

2.87
#B97FED on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.32
#B97FED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B97FED
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B97FED#FFFFFF#000000##000000
##B97FED1.002.877.327.32
#FFFFFF2.871.0021.0021.00
#0000007.3221.001.001.00
##0000007.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6396F1
Deuteranopia (green-blind)
#7299EA
Tritanopia (blue-blind)
#B191AB
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #b97fed;
/* rgb */ color: rgb(185, 127, 237);
/* oklch */ color: oklch(69.9% 0.165 307.0);
Tailwind
colors: {
  custom: {
    50: '#d0a5f3',
    500: '#b97fed',
    950: '#000000',
  },
}
SCSS
$custom: #b97fed;
$custom-light: #d0a5f3;
$custom-dark: #000000;
JSON
{
  "hex": "#b97fed",
  "rgb": {
    "r": 185,
    "g": 127,
    "b": 237
  },
  "hsl": {
    "h": 271.636,
    "s": 75.342,
    "l": 71.373
  },
  "oklch": {
    "l": 0.69879,
    "c": 0.16486,
    "h": 307
  },
  "luminance": 0.31607
}

Semantic roles & 50–950 ramp

primary
#B97FED
secondary
#E3F2D6
accent
#D80E6D
background
#FDFAFE
surface
#FAF4FD
border
#D3CED5
text
#140F17
muted
#837F85

Preview Lab

Preview with #B97FED

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

Preview Lab → · Contrast checker → · Palette generator →

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