#B97FD2#B97FD2

#B97FD2 is a light, vivid purple. Relative luminance 0.301; OKLCH L 68.5% C 0.133 H 315.2°. Best body text is #000000 at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#B97FD2
RGBrgb(185, 127, 210)
HSLhsl(282, 48%, 66%)
HSVhsv(282, 40%, 82%)
CMYKcmyk(11.9%, 39.5%, 0%, 17.6%)
CIE-LABlab(61.78, 37.01, -34.05)
CIE-LCHlch(61.78, 50.29, 317.38°)
OKLaboklab(68.55% 0.0946 -0.0939)
OKLCHoklch(68.55% 0.133 315.2)
XYZxyz(39.2280, 30.1471, 64.7128)
Luminance0.3015 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B97FD2 #98D27F
analogous
#8F7FD2 #B97FD2 #D27FC1
triadic
#B97FD2 #D2B97F #7FD2B9
tetradic
#B97FD2 #D28F7F #98D27F #7FC1D2
square
#B97FD2 #D28F7F #98D27F #7FC1D2
split-complementary
#B97FD2 #C1D27F #7FD28F
monochromatic
#80389F #A052C2 #B97FD2 #D2ACE2 #EBDAF2

Accessibility & contrast

On white

2.99
#B97FD2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.03
#B97FD2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B97FD2
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B97FD2#FFFFFF#000000##000000
##B97FD21.002.997.037.03
#FFFFFF2.991.0021.0021.00
#0000007.0321.001.001.00
##0000007.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7192D5
Deuteranopia (green-blind)
#7F97D0
Tritanopia (blue-blind)
#B88A9F
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #b97fd2;
/* rgb */ color: rgb(185, 127, 210);
/* oklch */ color: oklch(68.5% 0.133 315.2);
Tailwind
colors: {
  custom: {
    50: '#cfa5e0',
    500: '#b97fd2',
    950: '#000000',
  },
}
SCSS
$custom: #b97fd2;
$custom-light: #cfa5e0;
$custom-dark: #000000;
JSON
{
  "hex": "#b97fd2",
  "rgb": {
    "r": 185,
    "g": 127,
    "b": 210
  },
  "hsl": {
    "h": 281.928,
    "s": 47.977,
    "l": 66.078
  },
  "oklch": {
    "l": 0.68547,
    "c": 0.13326,
    "h": 315.2
  },
  "luminance": 0.30146
}

Semantic roles & 50–950 ramp

primary
#B97FD2
secondary
#D1E4C9
accent
#BB2A56
background
#FCFAFD
surface
#F9F4FB
border
#D2CED4
text
#140F15
muted
#827F83

Preview Lab

Preview with #B97FD2

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

Preview Lab → · Contrast checker → · Palette generator →

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