#B97CF2#B97CF2

#B97CF2 is a light, vivid violet. Relative luminance 0.311; OKLCH L 69.7% C 0.176 H 306.2°. Best body text is #000000 at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#B97CF2
RGBrgb(185, 124, 242)
HSLhsl(271, 82%, 72%)
HSVhsv(271, 49%, 95%)
CMYKcmyk(23.6%, 48.8%, 0%, 5.1%)
CIE-LABlab(62.63, 45.64, -50.54)
CIE-LCHlch(62.63, 68.10, 312.09°)
OKLaboklab(69.67% 0.1038 -0.1416)
OKLCHoklch(69.67% 0.176 306.2)
XYZxyz(43.2390, 31.1407, 87.7201)
Luminance0.3114 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B97CF2 #B5F27C
analogous
#7E7CF2 #B97CF2 #F27CF0
triadic
#B97CF2 #F2B97C #7CF2B9
tetradic
#B97CF2 #F27E7C #B5F27C #7CF0F2
square
#B97CF2 #F27E7C #B5F27C #7CF0F2
split-complementary
#B97CF2 #F0F27C #7CF27E
monochromatic
#7D16DE #9B44EC #B97CF2 #D7B4F8 #F0E3FC

Accessibility & contrast

On white

2.91
#B97CF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.23
#B97CF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B97CF2
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B97CF2#FFFFFF#000000##000000
##B97CF21.002.917.237.23
#FFFFFF2.911.0021.0021.00
#0000007.2321.001.001.00
##0000007.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B95F6
Deuteranopia (green-blind)
#6C98EF
Tritanopia (blue-blind)
#B090AC
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #b97cf2;
/* rgb */ color: rgb(185, 124, 242);
/* oklch */ color: oklch(69.7% 0.176 306.2);
Tailwind
colors: {
  custom: {
    50: '#d0a3f7',
    500: '#b97cf2',
    950: '#000000',
  },
}
SCSS
$custom: #b97cf2;
$custom-light: #d0a3f7;
$custom-dark: #000000;
JSON
{
  "hex": "#b97cf2",
  "rgb": {
    "r": 185,
    "g": 124,
    "b": 242
  },
  "hsl": {
    "h": 271.017,
    "s": 81.944,
    "l": 71.765
  },
  "oklch": {
    "l": 0.69668,
    "c": 0.17551,
    "h": 306.2
  },
  "luminance": 0.3114
}

Semantic roles & 50–950 ramp

primary
#B97CF2
secondary
#E4F4D6
accent
#DE076F
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#140F17
muted
#837F85

Preview Lab

Preview with #B97CF2

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

Preview Lab → · Contrast checker → · Palette generator →

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