#B97DE2#B97DE2

#B97DE2 is a light, vivid violet. Relative luminance 0.305; OKLCH L 69.0% C 0.155 H 310.3°. Best body text is #000000 at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#B97DE2
RGBrgb(185, 125, 226)
HSLhsl(276, 64%, 69%)
HSVhsv(276, 45%, 89%)
CMYKcmyk(18.1%, 44.7%, 0%, 11.4%)
CIE-LABlab(62.06, 41.53, -42.56)
CIE-LCHlch(62.06, 59.46, 314.30°)
OKLaboklab(68.99% 0.1003 -0.1184)
OKLCHoklch(68.99% 0.155 310.3)
XYZxyz(41.0662, 30.4732, 75.6553)
Luminance0.3047 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B97DE2 #A6E27D
analogous
#877DE2 #B97DE2 #E27DD8
triadic
#B97DE2 #E2B97D #7DE2B9
tetradic
#B97DE2 #E2877D #A6E27D #7DD8E2
square
#B97DE2 #E2877D #A6E27D #7DD8E2
split-complementary
#B97DE2 #D8E27D #7DE287
monochromatic
#802ABB #9E4BD7 #B97DE2 #D4AFED #EFE1F8

Accessibility & contrast

On white

2.96
#B97DE2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.09
#B97DE2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B97DE2
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B97DE2#FFFFFF#000000##000000
##B97DE21.002.967.097.09
#FFFFFF2.961.0021.0021.00
#0000007.0921.001.001.00
##0000007.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6693E6
Deuteranopia (green-blind)
#7697DF
Tritanopia (blue-blind)
#B48DA5
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #b97de2;
/* rgb */ color: rgb(185, 125, 226);
/* oklch */ color: oklch(69.0% 0.155 310.3);
Tailwind
colors: {
  custom: {
    50: '#d0a4eb',
    500: '#b97de2',
    950: '#000000',
  },
}
SCSS
$custom: #b97de2;
$custom-light: #d0a4eb;
$custom-dark: #000000;
JSON
{
  "hex": "#b97de2",
  "rgb": {
    "r": 185,
    "g": 125,
    "b": 226
  },
  "hsl": {
    "h": 275.644,
    "s": 63.522,
    "l": 68.824
  },
  "oklch": {
    "l": 0.68992,
    "c": 0.15517,
    "h": 310.3
  },
  "luminance": 0.30473
}

Semantic roles & 50–950 ramp

primary
#B97DE2
secondary
#DBECCE
accent
#CB1A62
background
#FCFAFE
surface
#F9F4FD
border
#D2CED5
text
#140F16
muted
#827F84

Preview Lab

Preview with #B97DE2

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

Preview Lab → · Contrast checker → · Palette generator →

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