#B97EDA#B97EDA

#B97EDA is a light, vivid violet. Relative luminance 0.303; OKLCH L 68.8% C 0.144 H 312.6°. Best body text is #000000 at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#B97EDA
RGBrgb(185, 126, 218)
HSLhsl(278, 55%, 67%)
HSVhsv(278, 42%, 85%)
CMYKcmyk(15.1%, 42.2%, 0%, 14.5%)
CIE-LABlab(61.91, 39.25, -38.33)
CIE-LCHlch(61.91, 54.86, 315.68°)
OKLaboklab(68.76% 0.0976 -0.1062)
OKLCHoklch(68.76% 0.144 312.6)
XYZxyz(40.1212, 30.2987, 70.0508)
Luminance0.3030 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B97EDA #9FDA7E
analogous
#8B7EDA #B97EDA #DA7ECD
triadic
#B97EDA #DAB97E #7EDAB9
tetradic
#B97EDA #DA8B7E #9FDA7E #7ECDDA
square
#B97EDA #DA8B7E #9FDA7E #7ECDDA
split-complementary
#B97EDA #CDDA7E #7EDA8B
monochromatic
#8031AC #9F4ECC #B97EDA #D3AEE8 #EDDDF5

Accessibility & contrast

On white

2.97
#B97EDA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.06
#B97EDA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B97EDA
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B97EDA#FFFFFF#000000##000000
##B97EDA1.002.977.067.06
#FFFFFF2.971.0021.0021.00
#0000007.0621.001.001.00
##0000007.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C92DD
Deuteranopia (green-blind)
#7B97D7
Tritanopia (blue-blind)
#B68BA2
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #b97eda;
/* rgb */ color: rgb(185, 126, 218);
/* oklch */ color: oklch(68.8% 0.144 312.6);
Tailwind
colors: {
  custom: {
    50: '#cfa4e6',
    500: '#b97eda',
    950: '#000000',
  },
}
SCSS
$custom: #b97eda;
$custom-light: #cfa4e6;
$custom-dark: #000000;
JSON
{
  "hex": "#b97eda",
  "rgb": {
    "r": 185,
    "g": 126,
    "b": 218
  },
  "hsl": {
    "h": 278.478,
    "s": 55.422,
    "l": 67.451
  },
  "oklch": {
    "l": 0.6876,
    "c": 0.14419,
    "h": 312.6
  },
  "luminance": 0.30298
}

Semantic roles & 50–950 ramp

primary
#B97EDA
secondary
#D6E8CC
accent
#C3235C
background
#FCFAFE
surface
#F9F4FC
border
#D2CED5
text
#140F16
muted
#827F84

Preview Lab

Preview with #B97EDA

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

Preview Lab → · Contrast checker → · Palette generator →

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