#B97CF8#B97CF8

#B97CF8 is a light, vivid violet. Relative luminance 0.315; OKLCH L 70.0% C 0.183 H 304.9°. Best body text is #000000 at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#B97CF8
RGBrgb(185, 124, 248)
HSLhsl(270, 90%, 73%)
HSVhsv(270, 50%, 97%)
CMYKcmyk(25.4%, 50%, 0%, 2.7%)
CIE-LABlab(62.93, 47.01, -53.36)
CIE-LCHlch(62.93, 71.11, 311.38°)
OKLaboklab(70% 0.1043 -0.1498)
OKLCHoklch(70% 0.183 304.9)
XYZxyz(44.1549, 31.5071, 92.5441)
Luminance0.3151 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B97CF8 #BBF87C
analogous
#7C7DF8 #B97CF8 #F77CF8
triadic
#B97CF8 #F8B97C #7CF8B9
tetradic
#B97CF8 #F87C7D #BBF87C #7CF8F7
square
#B97CF8 #F87C7D #BBF87C #7CF8F7
split-complementary
#B97CF8 #F8F77C #7DF87C
monochromatic
#7B0DED #9A42F5 #B97CF8 #D8B6FB #EFE2FD

Accessibility & contrast

On white

2.88
#B97CF8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.30
#B97CF8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B97CF8
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B97CF8#FFFFFF#000000##000000
##B97CF81.002.887.307.30
#FFFFFF2.881.0021.0021.00
#0000007.3021.001.001.00
##0000007.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5696FC
Deuteranopia (green-blind)
#6898F5
Tritanopia (blue-blind)
#AE92AF
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #b97cf8;
/* rgb */ color: rgb(185, 124, 248);
/* oklch */ color: oklch(70.0% 0.183 304.9);
Tailwind
colors: {
  custom: {
    50: '#d1a3fb',
    500: '#b97cf8',
    950: '#000000',
  },
}
SCSS
$custom: #b97cf8;
$custom-light: #d1a3fb;
$custom-dark: #000000;
JSON
{
  "hex": "#b97cf8",
  "rgb": {
    "r": 185,
    "g": 124,
    "b": 248
  },
  "hsl": {
    "h": 269.516,
    "s": 89.855,
    "l": 72.941
  },
  "oklch": {
    "l": 0.69996,
    "c": 0.18254,
    "h": 304.9
  },
  "luminance": 0.31507
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B97CF8

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

Preview Lab → · Contrast checker → · Palette generator →

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