#B97CF9#B97CF9

#B97CF9 is a light, vivid violet. Relative luminance 0.316; OKLCH L 70.1% C 0.184 H 304.6°. Best body text is #000000 at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#B97CF9
RGBrgb(185, 124, 249)
HSLhsl(269, 91%, 73%)
HSVhsv(269, 50%, 98%)
CMYKcmyk(25.7%, 50.2%, 0%, 2.4%)
CIE-LABlab(62.99, 47.24, -53.83)
CIE-LCHlch(62.99, 71.62, 311.27°)
OKLaboklab(70.05% 0.1044 -0.1511)
OKLCHoklch(70.05% 0.184 304.6)
XYZxyz(44.3105, 31.5693, 93.3633)
Luminance0.3157 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B97CF9 #BCF97C
analogous
#7C7DF9 #B97CF9 #F87CF9
triadic
#B97CF9 #F9B97C #7CF9B9
tetradic
#B97CF9 #F97C7D #BCF97C #7CF9F8
square
#B97CF9 #F97C7D #BCF97C #7CF9F8
split-complementary
#B97CF9 #F9F87C #7DF97C
monochromatic
#7B0BF0 #9A41F6 #B97CF9 #D8B7FC #EFE2FE

Accessibility & contrast

On white

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

On black

7.31
#B97CF9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B97CF9
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B97CF9#FFFFFF#000000##000000
##B97CF91.002.877.317.31
#FFFFFF2.871.0021.0021.00
#0000007.3121.001.001.00
##0000007.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5697FD
Deuteranopia (green-blind)
#6799F6
Tritanopia (blue-blind)
#AE92AF
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #b97cf9;
/* rgb */ color: rgb(185, 124, 249);
/* oklch */ color: oklch(70.1% 0.184 304.6);
Tailwind
colors: {
  custom: {
    50: '#d1a3fc',
    500: '#b97cf9',
    950: '#000000',
  },
}
SCSS
$custom: #b97cf9;
$custom-light: #d1a3fc;
$custom-dark: #000000;
JSON
{
  "hex": "#b97cf9",
  "rgb": {
    "r": 185,
    "g": 124,
    "b": 249
  },
  "hsl": {
    "h": 269.28,
    "s": 91.241,
    "l": 73.137
  },
  "oklch": {
    "l": 0.70051,
    "c": 0.18371,
    "h": 304.6
  },
  "luminance": 0.31569
}

Semantic roles & 50–950 ramp

primary
#B97CF9
secondary
#E6F6D5
accent
#E60076
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#140F17
muted
#837F85

Preview Lab

Preview with #B97CF9

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

Preview Lab → · Contrast checker → · Palette generator →

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