#B97FDD#B97FDD

#B97FDD is a light, vivid violet. Relative luminance 0.307; OKLCH L 69.1% C 0.146 H 311.5°. Best body text is #000000 at 7.14:1 contrast (WCAG AA passes).

Color values

HEX#B97FDD
RGBrgb(185, 127, 221)
HSLhsl(277, 58%, 68%)
HSVhsv(277, 43%, 87%)
CMYKcmyk(16.3%, 42.5%, 0%, 13.3%)
CIE-LABlab(62.27, 39.35, -39.45)
CIE-LCHlch(62.27, 55.72, 314.93°)
OKLaboklab(69.07% 0.0967 -0.1094)
OKLCHoklch(69.07% 0.146 311.5)
XYZxyz(40.6458, 30.7142, 72.1798)
Luminance0.3071 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B97FDD #A3DD7F
analogous
#8A7FDD #B97FDD #DD7FD2
triadic
#B97FDD #DDB97F #7FDDB9
tetradic
#B97FDD #DD8A7F #A3DD7F #7FD2DD
square
#B97FDD #DD8A7F #A3DD7F #7FD2DD
split-complementary
#B97FDD #D2DD7F #7FDD8A
monochromatic
#802FB2 #9F4FD0 #B97FDD #D3AFEA #EEE0F7

Accessibility & contrast

On white

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

On black

7.14
#B97FDD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B97FDD
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B97FDD#FFFFFF#000000##000000
##B97FDD1.002.947.147.14
#FFFFFF2.941.0021.0021.00
#0000007.1421.001.001.00
##0000007.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C94E0
Deuteranopia (green-blind)
#7A98DA
Tritanopia (blue-blind)
#B58DA4
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #b97fdd;
/* rgb */ color: rgb(185, 127, 221);
/* oklch */ color: oklch(69.1% 0.146 311.5);
Tailwind
colors: {
  custom: {
    50: '#cfa5e8',
    500: '#b97fdd',
    950: '#000000',
  },
}
SCSS
$custom: #b97fdd;
$custom-light: #cfa5e8;
$custom-dark: #000000;
JSON
{
  "hex": "#b97fdd",
  "rgb": {
    "r": 185,
    "g": 127,
    "b": 221
  },
  "hsl": {
    "h": 277.021,
    "s": 58.025,
    "l": 68.235
  },
  "oklch": {
    "l": 0.6907,
    "c": 0.146,
    "h": 311.5
  },
  "luminance": 0.30713
}

Semantic roles & 50–950 ramp

primary
#B97FDD
secondary
#D9EACE
accent
#C6205F
background
#FCFAFE
surface
#F9F4FC
border
#D2CED5
text
#140F16
muted
#827F84

Preview Lab

Preview with #B97FDD

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

Preview Lab → · Contrast checker → · Palette generator →

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