#B97ECF#B97ECF

#B97ECF is a light, vivid purple. Relative luminance 0.297; OKLCH L 68.2% C 0.132 H 316.5°. Best body text is #000000 at 6.95:1 contrast (WCAG AA passes).

Color values

HEX#B97ECF
RGBrgb(185, 126, 207)
HSLhsl(284, 46%, 65%)
HSVhsv(284, 39%, 81%)
CMYKcmyk(10.6%, 39.1%, 0%, 18.8%)
CIE-LABlab(61.43, 36.93, -32.91)
CIE-LCHlch(61.43, 49.46, 318.30°)
OKLaboklab(68.24% 0.0954 -0.0906)
OKLCHoklch(68.24% 0.132 316.5)
XYZxyz(38.7293, 29.7420, 62.7200)
Luminance0.2974 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B97ECF #94CF7E
analogous
#907ECF #B97ECF #CF7EBC
triadic
#B97ECF #CFB97E #7ECFB9
tetradic
#B97ECF #CF907E #94CF7E #7EBCCF
square
#B97ECF #CF907E #94CF7E #7EBCCF
split-complementary
#B97ECF #BCCF7E #7ECF90
monochromatic
#7F3999 #A151BE #B97ECF #D1ABE0 #E9D7F0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B97ECF#FFFFFF#000000##000000
##B97ECF1.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)
#7191D2
Deuteranopia (green-blind)
#8096CD
Tritanopia (blue-blind)
#B8899D
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #b97ecf;
/* rgb */ color: rgb(185, 126, 207);
/* oklch */ color: oklch(68.2% 0.132 316.5);
Tailwind
colors: {
  custom: {
    50: '#cfa4de',
    500: '#b97ecf',
    950: '#000000',
  },
}
SCSS
$custom: #b97ecf;
$custom-light: #cfa4de;
$custom-dark: #000000;
JSON
{
  "hex": "#b97ecf",
  "rgb": {
    "r": 185,
    "g": 126,
    "b": 207
  },
  "hsl": {
    "h": 283.704,
    "s": 45.763,
    "l": 65.294
  },
  "oklch": {
    "l": 0.68241,
    "c": 0.13157,
    "h": 316.5
  },
  "luminance": 0.29741
}

Semantic roles & 50–950 ramp

primary
#B97ECF
secondary
#CEE2C7
accent
#B92D53
background
#FCFAFD
surface
#F9F4FB
border
#D2CED4
text
#140F15
muted
#827F83

Preview Lab

Preview with #B97ECF

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

Preview Lab → · Contrast checker → · Palette generator →

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