#B97DDD#B97DDD

#B97DDD is a light, vivid violet. Relative luminance 0.302; OKLCH L 68.7% C 0.149 H 311.8°. Best body text is #000000 at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#B97DDD
RGBrgb(185, 125, 221)
HSLhsl(278, 59%, 68%)
HSVhsv(278, 43%, 87%)
CMYKcmyk(16.3%, 43.4%, 0%, 13.3%)
CIE-LABlab(61.83, 40.44, -40.13)
CIE-LCHlch(61.83, 56.97, 315.22°)
OKLaboklab(68.74% 0.0995 -0.1114)
OKLCHoklch(68.74% 0.149 311.8)
XYZxyz(40.3901, 30.2027, 72.0946)
Luminance0.3020 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B97DDD #A1DD7D
analogous
#897DDD #B97DDD #DD7DD1
triadic
#B97DDD #DDB97D #7DDDB9
tetradic
#B97DDD #DD897D #A1DD7D #7DD1DD
square
#B97DDD #DD897D #A1DD7D #7DD1DD
split-complementary
#B97DDD #D1DD7D #7DDD89
monochromatic
#802EB1 #9F4CD0 #B97DDD #D3AEEA #EDDEF6

Accessibility & contrast

On white

2.98
#B97DDD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.04
#B97DDD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B97DDD
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B97DDD#FFFFFF#000000##000000
##B97DDD1.002.987.047.04
#FFFFFF2.981.0021.0021.00
#0000007.0421.001.001.00
##0000007.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6992E0
Deuteranopia (green-blind)
#7997DA
Tritanopia (blue-blind)
#B58BA3
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #b97ddd;
/* rgb */ color: rgb(185, 125, 221);
/* oklch */ color: oklch(68.7% 0.149 311.8);
Tailwind
colors: {
  custom: {
    50: '#d0a4e8',
    500: '#b97ddd',
    950: '#000000',
  },
}
SCSS
$custom: #b97ddd;
$custom-light: #d0a4e8;
$custom-dark: #000000;
JSON
{
  "hex": "#b97ddd",
  "rgb": {
    "r": 185,
    "g": 125,
    "b": 221
  },
  "hsl": {
    "h": 277.5,
    "s": 58.537,
    "l": 67.843
  },
  "oklch": {
    "l": 0.68742,
    "c": 0.14935,
    "h": 311.8
  },
  "luminance": 0.30202
}

Semantic roles & 50–950 ramp

primary
#B97DDD
secondary
#D7EACC
accent
#C61F5E
background
#FCFAFE
surface
#F9F4FC
border
#D2CED5
text
#140F16
muted
#827F84

Preview Lab

Preview with #B97DDD

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

Preview Lab → · Contrast checker → · Palette generator →

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