#B898EA#B898EA

#B898EA is a light, vivid violet. Relative luminance 0.386; OKLCH L 73.9% C 0.120 H 301.5°. Best body text is #000000 at 8.72:1 contrast (WCAG AA passes).

Color values

HEX#B898EA
RGBrgb(184, 152, 234)
HSLhsl(263, 66%, 76%)
HSVhsv(263, 35%, 92%)
CMYKcmyk(21.4%, 35%, 0%, 8.2%)
CIE-LABlab(68.45, 28.10, -36.99)
CIE-LCHlch(68.45, 46.45, 307.23°)
OKLaboklab(73.91% 0.0627 -0.1025)
OKLCHoklch(73.91% 0.12 301.5)
XYZxyz(45.8435, 38.5873, 82.8589)
Luminance0.3859 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B898EA #CAEA98
analogous
#98A1EA #B898EA #E198EA
triadic
#B898EA #EAB898 #98EAB8
tetradic
#B898EA #EA98A1 #CAEA98 #98EAE1
square
#B898EA #EA98A1 #CAEA98 #98EAE1
split-complementary
#B898EA #EAE198 #A1EA98
monochromatic
#7232D5 #9565E0 #B898EA #DBCBF4 #EDE6FA

Accessibility & contrast

On white

2.41
#B898EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.72
#B898EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B898EA
8.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B898EA#FFFFFF#000000##000000
##B898EA1.002.418.728.72
#FFFFFF2.411.0021.0021.00
#0000008.7221.001.001.00
##0000008.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#85A6ED
Deuteranopia (green-blind)
#8BA7E8
Tritanopia (blue-blind)
#AFA5B6
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #b898ea;
/* rgb */ color: rgb(184, 152, 234);
/* oklch */ color: oklch(73.9% 0.120 301.5);
Tailwind
colors: {
  custom: {
    50: '#ceb6f1',
    500: '#b898ea',
    950: '#000000',
  },
}
SCSS
$custom: #b898ea;
$custom-light: #ceb6f1;
$custom-dark: #000000;
JSON
{
  "hex": "#b898ea",
  "rgb": {
    "r": 184,
    "g": 152,
    "b": 234
  },
  "hsl": {
    "h": 263.415,
    "s": 66.129,
    "l": 75.686
  },
  "oklch": {
    "l": 0.73913,
    "c": 0.12014,
    "h": 301.5
  },
  "luminance": 0.38587
}

Semantic roles & 50–950 ramp

primary
#B898EA
secondary
#E8F1DA
accent
#CE1887
background
#FCFBFE
surface
#F9F6FD
border
#D2D0D5
text
#141116
muted
#828084

Preview Lab

Preview with #B898EA

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

Preview Lab → · Contrast checker → · Palette generator →

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