#B97FDE#B97FDE

#B97FDE is a light, vivid violet. Relative luminance 0.308; OKLCH L 69.1% C 0.147 H 311.2°. Best body text is #000000 at 7.15:1 contrast (WCAG AA passes).

Color values

HEX#B97FDE
RGBrgb(185, 127, 222)
HSLhsl(277, 59%, 68%)
HSVhsv(277, 43%, 87%)
CMYKcmyk(16.7%, 42.8%, 0%, 12.9%)
CIE-LABlab(62.31, 39.56, -39.93)
CIE-LCHlch(62.31, 56.21, 314.73°)
OKLaboklab(69.12% 0.0969 -0.1108)
OKLCHoklch(69.12% 0.147 311.2)
XYZxyz(40.7794, 30.7677, 72.8836)
Luminance0.3077 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B97FDE #A4DE7F
analogous
#897FDE #B97FDE #DE7FD3
triadic
#B97FDE #DEB97F #7FDEB9
tetradic
#B97FDE #DE897F #A4DE7F #7FD3DE
square
#B97FDE #DE897F #A4DE7F #7FD3DE
split-complementary
#B97FDE #D3DE7F #7FDE89
monochromatic
#802EB4 #9E4ED1 #B97FDE #D4B0EB #EEE0F7

Accessibility & contrast

On white

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

On black

7.15
#B97FDE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B97FDE
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B97FDE#FFFFFF#000000##000000
##B97FDE1.002.947.157.15
#FFFFFF2.941.0021.0021.00
#0000007.1521.001.001.00
##0000007.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B94E1
Deuteranopia (green-blind)
#7A98DB
Tritanopia (blue-blind)
#B58DA4
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #b97fde;
/* rgb */ color: rgb(185, 127, 222);
/* oklch */ color: oklch(69.1% 0.147 311.2);
Tailwind
colors: {
  custom: {
    50: '#cfa5e8',
    500: '#b97fde',
    950: '#000000',
  },
}
SCSS
$custom: #b97fde;
$custom-light: #cfa5e8;
$custom-dark: #000000;
JSON
{
  "hex": "#b97fde",
  "rgb": {
    "r": 185,
    "g": 127,
    "b": 222
  },
  "hsl": {
    "h": 276.632,
    "s": 59.006,
    "l": 68.431
  },
  "oklch": {
    "l": 0.69119,
    "c": 0.14718,
    "h": 311.2
  },
  "luminance": 0.30767
}

Semantic roles & 50–950 ramp

primary
#B97FDE
secondary
#D9EBCE
accent
#C71F60
background
#FCFAFE
surface
#F9F4FD
border
#D2CED5
text
#140F16
muted
#827F84

Preview Lab

Preview with #B97FDE

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

Preview Lab → · Contrast checker → · Palette generator →

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