#B97EE2#B97EE2

#B97EE2 is a light, vivid violet. Relative luminance 0.307; OKLCH L 69.2% C 0.154 H 310.1°. Best body text is #000000 at 7.15:1 contrast (WCAG AA passes).

Color values

HEX#B97EE2
RGBrgb(185, 126, 226)
HSLhsl(275, 63%, 69%)
HSVhsv(275, 44%, 89%)
CMYKcmyk(18.1%, 44.2%, 0%, 11.4%)
CIE-LABlab(62.28, 40.98, -42.22)
CIE-LCHlch(62.28, 58.84, 314.15°)
OKLaboklab(69.15% 0.0989 -0.1174)
OKLCHoklch(69.15% 0.154 310.1)
XYZxyz(41.1934, 30.7276, 75.6977)
Luminance0.3073 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B97EE2 #A7E27E
analogous
#877EE2 #B97EE2 #E27ED9
triadic
#B97EE2 #E2B97E #7EE2B9
tetradic
#B97EE2 #E2877E #A7E27E #7ED9E2
square
#B97EE2 #E2877E #A7E27E #7ED9E2
split-complementary
#B97EE2 #D9E27E #7EE287
monochromatic
#802ABB #9E4CD7 #B97EE2 #D4B0ED #EFE2F8

Accessibility & contrast

On white

2.94
#B97EE2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.15
#B97EE2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B97EE2
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B97EE2#FFFFFF#000000##000000
##B97EE21.002.947.157.15
#FFFFFF2.941.0021.0021.00
#0000007.1521.001.001.00
##0000007.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6894E6
Deuteranopia (green-blind)
#7798DF
Tritanopia (blue-blind)
#B48DA5
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #b97ee2;
/* rgb */ color: rgb(185, 126, 226);
/* oklch */ color: oklch(69.2% 0.154 310.1);
Tailwind
colors: {
  custom: {
    50: '#d0a4eb',
    500: '#b97ee2',
    950: '#000000',
  },
}
SCSS
$custom: #b97ee2;
$custom-light: #d0a4eb;
$custom-dark: #000000;
JSON
{
  "hex": "#b97ee2",
  "rgb": {
    "r": 185,
    "g": 126,
    "b": 226
  },
  "hsl": {
    "h": 275.4,
    "s": 63.291,
    "l": 69.02
  },
  "oklch": {
    "l": 0.69154,
    "c": 0.15352,
    "h": 310.1
  },
  "luminance": 0.30727
}

Semantic roles & 50–950 ramp

primary
#B97EE2
secondary
#DBEDCF
accent
#CB1A63
background
#FCFAFE
surface
#F9F4FD
border
#D2CED5
text
#140F16
muted
#827F84

Preview Lab

Preview with #B97EE2

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

Preview Lab → · Contrast checker → · Palette generator →

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