#B97CEB#B97CEB

#B97CEB is a light, vivid violet. Relative luminance 0.307; OKLCH L 69.3% C 0.167 H 308.0°. Best body text is #000000 at 7.15:1 contrast (WCAG AA passes).

Color values

HEX#B97CEB
RGBrgb(185, 124, 235)
HSLhsl(273, 74%, 70%)
HSVhsv(273, 47%, 92%)
CMYKcmyk(21.3%, 47.2%, 0%, 7.8%)
CIE-LABlab(62.28, 44.06, -47.21)
CIE-LCHlch(62.28, 64.58, 313.02°)
OKLaboklab(69.3% 0.103 -0.1319)
OKLCHoklch(69.3% 0.167 308)
XYZxyz(42.2077, 30.7282, 82.2888)
Luminance0.3073 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B97CEB #AEEB7C
analogous
#817CEB #B97CEB #EB7CE5
triadic
#B97CEB #EBB97C #7CEBB9
tetradic
#B97CEB #EB817C #AEEB7C #7CE5EB
square
#B97CEB #EB817C #AEEB7C #7CE5EB
split-complementary
#B97CEB #E5EB7C #7CEB81
monochromatic
#7F1FCD #9D47E3 #B97CEB #D5B1F3 #F1E4FB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B97CEB#FFFFFF#000000##000000
##B97CEB1.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)
#6094EF
Deuteranopia (green-blind)
#7097E8
Tritanopia (blue-blind)
#B28EA8
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #b97ceb;
/* rgb */ color: rgb(185, 124, 235);
/* oklch */ color: oklch(69.3% 0.167 308.0);
Tailwind
colors: {
  custom: {
    50: '#d0a3f2',
    500: '#b97ceb',
    950: '#000000',
  },
}
SCSS
$custom: #b97ceb;
$custom-light: #d0a3f2;
$custom-dark: #000000;
JSON
{
  "hex": "#b97ceb",
  "rgb": {
    "r": 185,
    "g": 124,
    "b": 235
  },
  "hsl": {
    "h": 272.973,
    "s": 73.51,
    "l": 70.392
  },
  "oklch": {
    "l": 0.69295,
    "c": 0.16731,
    "h": 308
  },
  "luminance": 0.30728
}

Semantic roles & 50–950 ramp

primary
#B97CEB
secondary
#E0F1D2
accent
#D61069
background
#FDFAFE
surface
#FAF4FD
border
#D3CED5
text
#140F17
muted
#837F85

Preview Lab

Preview with #B97CEB

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

Preview Lab → · Contrast checker → · Palette generator →

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