#B97BED#B97BED

#B97BED is a light, vivid violet. Relative luminance 0.306; OKLCH L 69.2% C 0.171 H 307.6°. Best body text is #000000 at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#B97BED
RGBrgb(185, 123, 237)
HSLhsl(273, 76%, 71%)
HSVhsv(273, 48%, 93%)
CMYKcmyk(21.9%, 48.1%, 0%, 7.1%)
CIE-LABlab(62.16, 45.05, -48.50)
CIE-LCHlch(62.16, 66.19, 312.89°)
OKLaboklab(69.24% 0.1045 -0.1356)
OKLCHoklch(69.24% 0.171 307.6)
XYZxyz(42.3736, 30.5951, 83.7775)
Luminance0.3059 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B97BED #AFED7B
analogous
#807BED #B97BED #ED7BE8
triadic
#B97BED #EDB97B #7BEDB9
tetradic
#B97BED #ED807B #AFED7B #7BE8ED
square
#B97BED #ED807B #AFED7B #7BE8ED
split-complementary
#B97BED #E8ED7B #7BED80
monochromatic
#7F1DD1 #9C45E6 #B97BED #D6B1F4 #F1E4FB

Accessibility & contrast

On white

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

On black

7.12
#B97BED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B97BED
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B97BED#FFFFFF#000000##000000
##B97BED1.002.957.127.12
#FFFFFF2.951.0021.0021.00
#0000007.1221.001.001.00
##0000007.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D94F1
Deuteranopia (green-blind)
#6E97EA
Tritanopia (blue-blind)
#B28EA9
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #b97bed;
/* rgb */ color: rgb(185, 123, 237);
/* oklch */ color: oklch(69.2% 0.171 307.6);
Tailwind
colors: {
  custom: {
    50: '#d0a3f3',
    500: '#b97bed',
    950: '#000000',
  },
}
SCSS
$custom: #b97bed;
$custom-light: #d0a3f3;
$custom-dark: #000000;
JSON
{
  "hex": "#b97bed",
  "rgb": {
    "r": 185,
    "g": 123,
    "b": 237
  },
  "hsl": {
    "h": 272.632,
    "s": 76,
    "l": 70.588
  },
  "oklch": {
    "l": 0.69243,
    "c": 0.17124,
    "h": 307.6
  },
  "luminance": 0.30595
}

Semantic roles & 50–950 ramp

primary
#B97BED
secondary
#E1F1D2
accent
#D80D6A
background
#FDFAFE
surface
#FAF4FD
border
#D3CED5
text
#140F17
muted
#837F85

Preview Lab

Preview with #B97BED

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

Preview Lab → · Contrast checker → · Palette generator →

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