#B97CFC#B97CFC

#B97CFC is a light, vivid violet. Relative luminance 0.318; OKLCH L 70.2% C 0.187 H 304.0°. Best body text is #000000 at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#B97CFC
RGBrgb(185, 124, 252)
HSLhsl(269, 96%, 74%)
HSVhsv(269, 51%, 99%)
CMYKcmyk(26.6%, 50.8%, 0%, 1.2%)
CIE-LABlab(63.14, 47.94, -55.22)
CIE-LCHlch(63.14, 73.13, 310.96°)
OKLaboklab(70.22% 0.1047 -0.1552)
OKLCHoklch(70.22% 0.187 304)
XYZxyz(44.7821, 31.7580, 95.8473)
Luminance0.3176 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B97CFC #BFFC7C
analogous
#7C7FFC #B97CFC #F97CFC
triadic
#B97CFC #FCB97C #7CFCB9
tetradic
#B97CFC #FC7C7F #BFFC7C #7CFCF9
square
#B97CFC #FC7C7F #BFFC7C #7CFCF9
split-complementary
#B97CFC #FCF97C #7FFC7C
monochromatic
#7906F8 #9940FB #B97CFC #D9B8FD #EFE1FE

Accessibility & contrast

On white

2.86
#B97CFC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.35
#B97CFC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B97CFC
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B97CFC#FFFFFF#000000##000000
##B97CFC1.002.867.357.35
#FFFFFF2.861.0021.0021.00
#0000007.3521.001.001.00
##0000007.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5397FF
Deuteranopia (green-blind)
#6599F9
Tritanopia (blue-blind)
#AD93B1
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #b97cfc;
/* rgb */ color: rgb(185, 124, 252);
/* oklch */ color: oklch(70.2% 0.187 304.0);
Tailwind
colors: {
  custom: {
    50: '#d1a3fe',
    500: '#b97cfc',
    950: '#000000',
  },
}
SCSS
$custom: #b97cfc;
$custom-light: #d1a3fe;
$custom-dark: #000000;
JSON
{
  "hex": "#b97cfc",
  "rgb": {
    "r": 185,
    "g": 124,
    "b": 252
  },
  "hsl": {
    "h": 268.594,
    "s": 95.522,
    "l": 73.725
  },
  "oklch": {
    "l": 0.70219,
    "c": 0.18723,
    "h": 304
  },
  "luminance": 0.31758
}

Semantic roles & 50–950 ramp

primary
#B97CFC
secondary
#E6F7D4
accent
#E60078
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#140F18
muted
#837F86

Preview Lab

Preview with #B97CFC

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

Preview Lab → · Contrast checker → · Palette generator →

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