#B97FDF#B97FDF

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

Color values

HEX#B97FDF
RGBrgb(185, 127, 223)
HSLhsl(276, 60%, 69%)
HSVhsv(276, 43%, 87%)
CMYKcmyk(17%, 43%, 0%, 12.5%)
CIE-LABlab(62.36, 39.78, -40.42)
CIE-LCHlch(62.36, 56.71, 314.55°)
OKLaboklab(69.17% 0.097 -0.1122)
OKLCHoklch(69.17% 0.148 310.9)
XYZxyz(40.9139, 30.8214, 73.5915)
Luminance0.3082 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B97FDF #A5DF7F
analogous
#897FDF #B97FDF #DF7FD5
triadic
#B97FDF #DFB97F #7FDFB9
tetradic
#B97FDF #DF897F #A5DF7F #7FD5DF
square
#B97FDF #DF897F #A5DF7F #7FD5DF
split-complementary
#B97FDF #D5DF7F #7FDF89
monochromatic
#802EB6 #9E4ED3 #B97FDF #D4B0EB #EFE1F7

Accessibility & contrast

On white

2.93
#B97FDF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.16
#B97FDF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B97FDF
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B97FDF#FFFFFF#000000##000000
##B97FDF1.002.937.167.16
#FFFFFF2.931.0021.0021.00
#0000007.1621.001.001.00
##0000007.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B94E2
Deuteranopia (green-blind)
#7998DC
Tritanopia (blue-blind)
#B58EA4
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #b97fdf;
/* rgb */ color: rgb(185, 127, 223);
/* oklch */ color: oklch(69.2% 0.148 310.9);
Tailwind
colors: {
  custom: {
    50: '#cfa5e9',
    500: '#b97fdf',
    950: '#000000',
  },
}
SCSS
$custom: #b97fdf;
$custom-light: #cfa5e9;
$custom-dark: #000000;
JSON
{
  "hex": "#b97fdf",
  "rgb": {
    "r": 185,
    "g": 127,
    "b": 223
  },
  "hsl": {
    "h": 276.25,
    "s": 60,
    "l": 68.627
  },
  "oklch": {
    "l": 0.69168,
    "c": 0.14834,
    "h": 310.9
  },
  "luminance": 0.30821
}

Semantic roles & 50–950 ramp

primary
#B97FDF
secondary
#DAEBCF
accent
#C81E61
background
#FCFAFE
surface
#F9F4FD
border
#D2CED5
text
#140F16
muted
#827F84

Preview Lab

Preview with #B97FDF

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

Preview Lab → · Contrast checker → · Palette generator →

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