#B97CF6#B97CF6

#B97CF6 is a light, vivid violet. Relative luminance 0.314; OKLCH L 69.9% C 0.180 H 305.3°. Best body text is #000000 at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#B97CF6
RGBrgb(185, 124, 246)
HSLhsl(270, 87%, 73%)
HSVhsv(270, 50%, 96%)
CMYKcmyk(24.8%, 49.6%, 0%, 3.5%)
CIE-LABlab(62.83, 46.55, -52.42)
CIE-LCHlch(62.83, 70.11, 311.61°)
OKLaboklab(69.89% 0.1042 -0.147)
OKLCHoklch(69.89% 0.18 305.3)
XYZxyz(43.8463, 31.3837, 90.9187)
Luminance0.3138 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B97CF6 #B9F67C
analogous
#7C7CF6 #B97CF6 #F67CF6
triadic
#B97CF6 #F6B97C #7CF6B9
tetradic
#B97CF6 #F67C7C #B9F67C #7CF6F6
square
#B97CF6 #F67C7C #B9F67C #7CF6F6
split-complementary
#B97CF6 #F6F67C #7CF67C
monochromatic
#7C10E8 #9A43F2 #B97CF6 #D8B5FA #F0E2FD

Accessibility & contrast

On white

2.89
#B97CF6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.28
#B97CF6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B97CF6
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B97CF6#FFFFFF#000000##000000
##B97CF61.002.897.287.28
#FFFFFF2.891.0021.0021.00
#0000007.2821.001.001.00
##0000007.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5896FA
Deuteranopia (green-blind)
#6998F3
Tritanopia (blue-blind)
#AF92AE
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #b97cf6;
/* rgb */ color: rgb(185, 124, 246);
/* oklch */ color: oklch(69.9% 0.180 305.3);
Tailwind
colors: {
  custom: {
    50: '#d1a3fa',
    500: '#b97cf6',
    950: '#000000',
  },
}
SCSS
$custom: #b97cf6;
$custom-light: #d1a3fa;
$custom-dark: #000000;
JSON
{
  "hex": "#b97cf6",
  "rgb": {
    "r": 185,
    "g": 124,
    "b": 246
  },
  "hsl": {
    "h": 270,
    "s": 87.143,
    "l": 72.549
  },
  "oklch": {
    "l": 0.69886,
    "c": 0.1802,
    "h": 305.3
  },
  "luminance": 0.31383
}

Semantic roles & 50–950 ramp

primary
#B97CF6
secondary
#E6F5D6
accent
#E40273
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#140F17
muted
#837F85

Preview Lab

Preview with #B97CF6

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

Preview Lab → · Contrast checker → · Palette generator →

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