#B97BEF#B97BEF

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

Color values

HEX#B97BEF
RGBrgb(185, 123, 239)
HSLhsl(272, 78%, 71%)
HSVhsv(272, 49%, 94%)
CMYKcmyk(22.6%, 48.5%, 0%, 6.3%)
CIE-LABlab(62.26, 45.50, -49.45)
CIE-LCHlch(62.26, 67.20, 312.62°)
OKLaboklab(69.35% 0.1048 -0.1384)
OKLCHoklch(69.35% 0.174 307.1)
XYZxyz(42.6674, 30.7126, 85.3250)
Luminance0.3071 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B97BEF #B1EF7B
analogous
#7F7BEF #B97BEF #EF7BEB
triadic
#B97BEF #EFB97B #7BEFB9
tetradic
#B97BEF #EF7F7B #B1EF7B #7BEBEF
square
#B97BEF #EF7F7B #B1EF7B #7BEBEF
split-complementary
#B97BEF #EBEF7B #7BEF7F
monochromatic
#7E1AD6 #9C44E8 #B97BEF #D6B2F6 #F1E4FC

Accessibility & contrast

On white

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

On black

7.14
#B97BEF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B97BEF
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B97BEF#FFFFFF#000000##000000
##B97BEF1.002.947.147.14
#FFFFFF2.941.0021.0021.00
#0000007.1421.001.001.00
##0000007.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B94F3
Deuteranopia (green-blind)
#6D97EC
Tritanopia (blue-blind)
#B18FAA
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #b97bef;
/* rgb */ color: rgb(185, 123, 239);
/* oklch */ color: oklch(69.3% 0.174 307.1);
Tailwind
colors: {
  custom: {
    50: '#d0a3f5',
    500: '#b97bef',
    950: '#000000',
  },
}
SCSS
$custom: #b97bef;
$custom-light: #d0a3f5;
$custom-dark: #000000;
JSON
{
  "hex": "#b97bef",
  "rgb": {
    "r": 185,
    "g": 123,
    "b": 239
  },
  "hsl": {
    "h": 272.069,
    "s": 78.378,
    "l": 70.98
  },
  "oklch": {
    "l": 0.6935,
    "c": 0.17357,
    "h": 307.1
  },
  "luminance": 0.30712
}

Semantic roles & 50–950 ramp

primary
#B97BEF
secondary
#E2F2D3
accent
#DB0B6C
background
#FDFAFF
surface
#FAF4FE
border
#D3CED6
text
#140F17
muted
#837F85

Preview Lab

Preview with #B97BEF

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

Preview Lab → · Contrast checker → · Palette generator →

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