#B97DFF#B97DFF

#B97DFF is a light, vivid violet. Relative luminance 0.322; OKLCH L 70.5% C 0.189 H 303.2°. Best body text is #000000 at 7.44:1 contrast (WCAG AA passes).

Color values

HEX#B97DFF
RGBrgb(185, 125, 255)
HSLhsl(268, 100%, 75%)
HSVhsv(268, 51%, 100%)
CMYKcmyk(27.5%, 51%, 0%, 0%)
CIE-LABlab(63.51, 48.10, -56.29)
CIE-LCHlch(63.51, 74.04, 310.52°)
OKLaboklab(70.54% 0.1036 -0.1583)
OKLCHoklch(70.54% 0.189 303.2)
XYZxyz(45.3872, 32.2016, 98.4128)
Luminance0.3220 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B97DFF #C3FF7D
analogous
#7D82FF #B97DFF #FA7DFF
triadic
#B97DFF #FFB97D #7DFFB9
tetradic
#B97DFF #FF7D82 #C3FF7D #7DFFFA
square
#B97DFF #FF7D82 #C3FF7D #7DFFFA
split-complementary
#B97DFF #FFFA7D #82FF7D
monochromatic
#7703FF #9840FF #B97DFF #DABAFF #EFE0FF

Accessibility & contrast

On white

2.82
#B97DFF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.44
#B97DFF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B97DFF
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B97DFF#FFFFFF#000000##000000
##B97DFF1.002.827.447.44
#FFFFFF2.821.0021.0021.00
#0000007.4421.001.001.00
##0000007.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5298FF
Deuteranopia (green-blind)
#649AFC
Tritanopia (blue-blind)
#AC95B2
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #b97dff;
/* rgb */ color: rgb(185, 125, 255);
/* oklch */ color: oklch(70.5% 0.189 303.2);
Tailwind
colors: {
  custom: {
    50: '#d1a4ff',
    500: '#b97dff',
    950: '#000000',
  },
}
SCSS
$custom: #b97dff;
$custom-light: #d1a4ff;
$custom-dark: #000000;
JSON
{
  "hex": "#b97dff",
  "rgb": {
    "r": 185,
    "g": 125,
    "b": 255
  },
  "hsl": {
    "h": 267.692,
    "s": 100,
    "l": 74.51
  },
  "oklch": {
    "l": 0.70542,
    "c": 0.18924,
    "h": 303.2
  },
  "luminance": 0.32202
}

Semantic roles & 50–950 ramp

primary
#B97DFF
secondary
#E7F7D4
accent
#E6007C
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#140F18
muted
#837F86

Preview Lab

Preview with #B97DFF

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

Preview Lab → · Contrast checker → · Palette generator →

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