#B97FDA#B97FDA

#B97FDA is a light, vivid violet. Relative luminance 0.306; OKLCH L 68.9% C 0.142 H 312.4°. Best body text is #000000 at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#B97FDA
RGBrgb(185, 127, 218)
HSLhsl(278, 55%, 68%)
HSVhsv(278, 42%, 85%)
CMYKcmyk(15.1%, 41.7%, 0%, 14.5%)
CIE-LABlab(62.13, 38.70, -37.98)
CIE-LCHlch(62.13, 54.23, 315.54°)
OKLaboklab(68.93% 0.0961 -0.1052)
OKLCHoklch(68.93% 0.143 312.4)
XYZxyz(40.2497, 30.5558, 70.0936)
Luminance0.3055 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B97FDA #A0DA7F
analogous
#8B7FDA #B97FDA #DA7FCD
triadic
#B97FDA #DAB97F #7FDAB9
tetradic
#B97FDA #DA8B7F #A0DA7F #7FCDDA
square
#B97FDA #DA8B7F #A0DA7F #7FCDDA
split-complementary
#B97FDA #CDDA7F #7FDA8B
monochromatic
#8032AD #9F50CC #B97FDA #D3AEE8 #EDDEF5

Accessibility & contrast

On white

2.95
#B97FDA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.11
#B97FDA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B97FDA
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B97FDA#FFFFFF#000000##000000
##B97FDA1.002.957.117.11
#FFFFFF2.951.0021.0021.00
#0000007.1121.001.001.00
##0000007.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D93DD
Deuteranopia (green-blind)
#7C98D7
Tritanopia (blue-blind)
#B68CA2
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #b97fda;
/* rgb */ color: rgb(185, 127, 218);
/* oklch */ color: oklch(68.9% 0.142 312.4);
Tailwind
colors: {
  custom: {
    50: '#cfa5e6',
    500: '#b97fda',
    950: '#000000',
  },
}
SCSS
$custom: #b97fda;
$custom-light: #cfa5e6;
$custom-dark: #000000;
JSON
{
  "hex": "#b97fda",
  "rgb": {
    "r": 185,
    "g": 127,
    "b": 218
  },
  "hsl": {
    "h": 278.242,
    "s": 55.152,
    "l": 67.647
  },
  "oklch": {
    "l": 0.68925,
    "c": 0.1425,
    "h": 312.4
  },
  "luminance": 0.30555
}

Semantic roles & 50–950 ramp

primary
#B97FDA
secondary
#D7E9CC
accent
#C3235D
background
#FCFAFE
surface
#F9F4FC
border
#D2CED5
text
#140F16
muted
#827F84

Preview Lab

Preview with #B97FDA

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

Preview Lab → · Contrast checker → · Palette generator →

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