#B97DDF#B97DDF

#B97DDF is a light, vivid violet. Relative luminance 0.303; OKLCH L 68.8% C 0.152 H 311.2°. Best body text is #000000 at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#B97DDF
RGBrgb(185, 125, 223)
HSLhsl(277, 60%, 68%)
HSVhsv(277, 44%, 87%)
CMYKcmyk(17%, 43.9%, 0%, 12.5%)
CIE-LABlab(61.92, 40.87, -41.10)
CIE-LCHlch(61.92, 57.97, 314.84°)
OKLaboklab(68.84% 0.0998 -0.1142)
OKLCHoklch(68.84% 0.152 311.2)
XYZxyz(40.6581, 30.3099, 73.5063)
Luminance0.3031 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B97DDF #A3DF7D
analogous
#887DDF #B97DDF #DF7DD4
triadic
#B97DDF #DFB97D #7DDFB9
tetradic
#B97DDF #DF887D #A3DF7D #7DD4DF
square
#B97DDF #DF887D #A3DF7D #7DD4DF
split-complementary
#B97DDF #D4DF7D #7DDF88
monochromatic
#802DB5 #9F4CD3 #B97DDF #D3AEEB #EEDFF7

Accessibility & contrast

On white

2.97
#B97DDF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.06
#B97DDF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B97DDF
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B97DDF#FFFFFF#000000##000000
##B97DDF1.002.977.067.06
#FFFFFF2.971.0021.0021.00
#0000007.0621.001.001.00
##0000007.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6893E3
Deuteranopia (green-blind)
#7897DC
Tritanopia (blue-blind)
#B58CA3
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #b97ddf;
/* rgb */ color: rgb(185, 125, 223);
/* oklch */ color: oklch(68.8% 0.152 311.2);
Tailwind
colors: {
  custom: {
    50: '#d0a4e9',
    500: '#b97ddf',
    950: '#000000',
  },
}
SCSS
$custom: #b97ddf;
$custom-light: #d0a4e9;
$custom-dark: #000000;
JSON
{
  "hex": "#b97ddf",
  "rgb": {
    "r": 185,
    "g": 125,
    "b": 223
  },
  "hsl": {
    "h": 276.735,
    "s": 60.494,
    "l": 68.235
  },
  "oklch": {
    "l": 0.68841,
    "c": 0.15167,
    "h": 311.2
  },
  "luminance": 0.30309
}

Semantic roles & 50–950 ramp

primary
#B97DDF
secondary
#D9EBCD
accent
#C81D60
background
#FCFAFE
surface
#F9F4FD
border
#D2CED5
text
#140F16
muted
#827F84

Preview Lab

Preview with #B97DDF

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

Preview Lab → · Contrast checker → · Palette generator →

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