#B897EA#B897EA

#B897EA is a light, vivid violet. Relative luminance 0.383; OKLCH L 73.7% C 0.122 H 301.8°. Best body text is #000000 at 8.65:1 contrast (WCAG AA passes).

Color values

HEX#B897EA
RGBrgb(184, 151, 234)
HSLhsl(264, 66%, 75%)
HSVhsv(264, 35%, 92%)
CMYKcmyk(21.4%, 35.5%, 0%, 8.2%)
CIE-LABlab(68.21, 28.66, -37.36)
CIE-LCHlch(68.21, 47.09, 307.50°)
OKLaboklab(73.73% 0.0641 -0.1035)
OKLCHoklch(73.73% 0.122 301.8)
XYZxyz(45.6819, 38.2640, 82.8050)
Luminance0.3826 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B897EA #C9EA97
analogous
#979FEA #B897EA #E197EA
triadic
#B897EA #EAB897 #97EAB8
tetradic
#B897EA #EA979F #C9EA97 #97EAE1
square
#B897EA #EA979F #C9EA97 #97EAE1
split-complementary
#B897EA #EAE197 #9FEA97
monochromatic
#7231D5 #9564E0 #B897EA #DBCAF4 #EEE6FA

Accessibility & contrast

On white

2.43
#B897EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.65
#B897EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B897EA
8.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B897EA#FFFFFF#000000##000000
##B897EA1.002.438.658.65
#FFFFFF2.431.0021.0021.00
#0000008.6521.001.001.00
##0000008.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#84A6ED
Deuteranopia (green-blind)
#8AA6E8
Tritanopia (blue-blind)
#AFA4B6
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #b897ea;
/* rgb */ color: rgb(184, 151, 234);
/* oklch */ color: oklch(73.7% 0.122 301.8);
Tailwind
colors: {
  custom: {
    50: '#ceb6f1',
    500: '#b897ea',
    950: '#000000',
  },
}
SCSS
$custom: #b897ea;
$custom-light: #ceb6f1;
$custom-dark: #000000;
JSON
{
  "hex": "#b897ea",
  "rgb": {
    "r": 184,
    "g": 151,
    "b": 234
  },
  "hsl": {
    "h": 263.855,
    "s": 66.4,
    "l": 75.49
  },
  "oklch": {
    "l": 0.73733,
    "c": 0.12177,
    "h": 301.8
  },
  "luminance": 0.38264
}

Semantic roles & 50–950 ramp

primary
#B897EA
secondary
#E8F1DA
accent
#CE1785
background
#FCFBFE
surface
#F9F6FD
border
#D2D0D5
text
#141116
muted
#828084

Preview Lab

Preview with #B897EA

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

Preview Lab → · Contrast checker → · Palette generator →

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