#B97EDE#B97EDE

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

Color values

HEX#B97EDE
RGBrgb(185, 126, 222)
HSLhsl(277, 59%, 68%)
HSVhsv(277, 43%, 87%)
CMYKcmyk(16.7%, 43.2%, 0%, 12.9%)
CIE-LABlab(62.09, 40.11, -40.28)
CIE-LCHlch(62.09, 56.84, 314.88°)
OKLaboklab(68.96% 0.0983 -0.1118)
OKLCHoklch(68.96% 0.149 311.3)
XYZxyz(40.6509, 30.5106, 72.8408)
Luminance0.3051 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B97EDE #A3DE7E
analogous
#897EDE #B97EDE #DE7ED3
triadic
#B97EDE #DEB97E #7EDEB9
tetradic
#B97EDE #DE897E #A3DE7E #7ED3DE
square
#B97EDE #DE897E #A3DE7E #7ED3DE
split-complementary
#B97EDE #D3DE7E #7EDE89
monochromatic
#802EB4 #9F4DD2 #B97EDE #D3AFEA #EEDFF7

Accessibility & contrast

On white

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

On black

7.10
#B97EDE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B97EDE
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B97EDE#FFFFFF#000000##000000
##B97EDE1.002.967.107.10
#FFFFFF2.961.0021.0021.00
#0000007.1021.001.001.00
##0000007.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A93E1
Deuteranopia (green-blind)
#7997DB
Tritanopia (blue-blind)
#B58CA3
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #b97ede;
/* rgb */ color: rgb(185, 126, 222);
/* oklch */ color: oklch(69.0% 0.149 311.3);
Tailwind
colors: {
  custom: {
    50: '#d0a4e8',
    500: '#b97ede',
    950: '#000000',
  },
}
SCSS
$custom: #b97ede;
$custom-light: #d0a4e8;
$custom-dark: #000000;
JSON
{
  "hex": "#b97ede",
  "rgb": {
    "r": 185,
    "g": 126,
    "b": 222
  },
  "hsl": {
    "h": 276.875,
    "s": 59.259,
    "l": 68.235
  },
  "oklch": {
    "l": 0.68955,
    "c": 0.14884,
    "h": 311.3
  },
  "luminance": 0.3051
}

Semantic roles & 50–950 ramp

primary
#B97EDE
secondary
#D9EACD
accent
#C71F5F
background
#FCFAFE
surface
#F9F4FD
border
#D2CED5
text
#140F16
muted
#827F84

Preview Lab

Preview with #B97EDE

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

Preview Lab → · Contrast checker → · Palette generator →

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