#B97FFC#B97FFC

#B97FFC is a light, vivid violet. Relative luminance 0.325; OKLCH L 70.7% C 0.183 H 303.5°. Best body text is #000000 at 7.50:1 contrast (WCAG AA passes).

Color values

HEX#B97FFC
RGBrgb(185, 127, 252)
HSLhsl(268, 95%, 74%)
HSVhsv(268, 50%, 99%)
CMYKcmyk(26.6%, 49.6%, 0%, 1.2%)
CIE-LABlab(63.77, 46.33, -54.22)
CIE-LCHlch(63.77, 71.32, 310.51°)
OKLaboklab(70.69% 0.1008 -0.1523)
OKLCHoklch(70.69% 0.183 303.5)
XYZxyz(45.1638, 32.5214, 95.9745)
Luminance0.3252 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B97FFC #C2FC7F
analogous
#7F84FC #B97FFC #F87FFC
triadic
#B97FFC #FCB97F #7FFCB9
tetradic
#B97FFC #FC7F84 #C2FC7F #7FFCF8
square
#B97FFC #FC7F84 #C2FC7F #7FFCF8
split-complementary
#B97FFC #FCF87F #84FC7F
monochromatic
#7807F9 #9843FB #B97FFC #DABBFD #EFE1FE

Accessibility & contrast

On white

2.80
#B97FFC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.50
#B97FFC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B97FFC
7.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B97FFC#FFFFFF#000000##000000
##B97FFC1.002.807.507.50
#FFFFFF2.801.0021.0021.00
#0000007.5021.001.001.00
##0000007.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5899FF
Deuteranopia (green-blind)
#689AF9
Tritanopia (blue-blind)
#AD96B2
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #b97ffc;
/* rgb */ color: rgb(185, 127, 252);
/* oklch */ color: oklch(70.7% 0.183 303.5);
Tailwind
colors: {
  custom: {
    50: '#d1a5fe',
    500: '#b97ffc',
    950: '#000000',
  },
}
SCSS
$custom: #b97ffc;
$custom-light: #d1a5fe;
$custom-dark: #000000;
JSON
{
  "hex": "#b97ffc",
  "rgb": {
    "r": 185,
    "g": 127,
    "b": 252
  },
  "hsl": {
    "h": 267.84,
    "s": 95.42,
    "l": 74.314
  },
  "oklch": {
    "l": 0.70686,
    "c": 0.18266,
    "h": 303.5
  },
  "luminance": 0.32521
}

Semantic roles & 50–950 ramp

primary
#B97FFC
secondary
#E7F7D4
accent
#E6007B
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#140F18
muted
#837F86

Preview Lab

Preview with #B97FFC

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

Preview Lab → · Contrast checker → · Palette generator →

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