#B97DE7#B97DE7

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

Color values

HEX#B97DE7
RGBrgb(185, 125, 231)
HSLhsl(274, 69%, 70%)
HSVhsv(274, 46%, 91%)
CMYKcmyk(19.9%, 45.9%, 0%, 9.4%)
CIE-LABlab(62.30, 42.63, -44.96)
CIE-LCHlch(62.30, 61.96, 313.47°)
OKLaboklab(69.25% 0.1011 -0.1254)
OKLCHoklch(69.25% 0.161 308.9)
XYZxyz(41.7623, 30.7516, 79.3214)
Luminance0.3075 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B97DE7 #ABE77D
analogous
#847DE7 #B97DE7 #E77DE0
triadic
#B97DE7 #E7B97D #7DE7B9
tetradic
#B97DE7 #E7847D #ABE77D #7DE0E7
square
#B97DE7 #E7847D #ABE77D #7DE0E7
split-complementary
#B97DE7 #E0E77D #7DE784
monochromatic
#7F24C5 #9D49DD #B97DE7 #D5B1F1 #F1E4FA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B97DE7#FFFFFF#000000##000000
##B97DE71.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)
#6394EB
Deuteranopia (green-blind)
#7397E4
Tritanopia (blue-blind)
#B38EA7
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #b97de7;
/* rgb */ color: rgb(185, 125, 231);
/* oklch */ color: oklch(69.2% 0.161 308.9);
Tailwind
colors: {
  custom: {
    50: '#d0a4ef',
    500: '#b97de7',
    950: '#000000',
  },
}
SCSS
$custom: #b97de7;
$custom-light: #d0a4ef;
$custom-dark: #000000;
JSON
{
  "hex": "#b97de7",
  "rgb": {
    "r": 185,
    "g": 125,
    "b": 231
  },
  "hsl": {
    "h": 273.962,
    "s": 68.831,
    "l": 69.804
  },
  "oklch": {
    "l": 0.69246,
    "c": 0.16102,
    "h": 308.9
  },
  "luminance": 0.30751
}

Semantic roles & 50–950 ramp

primary
#B97DE7
secondary
#DEEFD1
accent
#D11566
background
#FDFAFE
surface
#FAF4FD
border
#D3CED5
text
#140F16
muted
#837F84

Preview Lab

Preview with #B97DE7

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

Preview Lab → · Contrast checker → · Palette generator →

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