#B898FF#B898FF

#B898FF is a light, vivid violet. Relative luminance 0.399; OKLCH L 74.9% C 0.147 H 297.0°. Best body text is #000000 at 8.97:1 contrast (WCAG AA passes).

Color values

HEX#B898FF
RGBrgb(184, 152, 255)
HSLhsl(259, 100%, 80%)
HSVhsv(259, 40%, 100%)
CMYKcmyk(27.8%, 40.4%, 0%, 0%)
CIE-LABlab(69.37, 33.04, -47.01)
CIE-LCHlch(69.37, 57.46, 305.10°)
OKLaboklab(74.92% 0.067 -0.1314)
OKLCHoklch(74.92% 0.148 297)
XYZxyz(49.0411, 39.8663, 99.6996)
Luminance0.3987 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B898FF #DFFF98
analogous
#98ABFF #B898FF #EC98FF
triadic
#B898FF #FFB898 #98FFB8
tetradic
#B898FF #FF98AB #DFFF98 #98FFEC
square
#B898FF #FF98AB #DFFF98 #98FFEC
split-complementary
#B898FF #FFEC98 #ABFF98
monochromatic
#641EFF #8E5BFF #B898FF #E2D5FF #EAE0FF

Accessibility & contrast

On white

2.34
#B898FF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.97
#B898FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B898FF
8.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B898FF#FFFFFF#000000##000000
##B898FF1.002.348.978.97
#FFFFFF2.341.0021.0021.00
#0000008.9721.001.001.00
##0000008.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7BAAFF
Deuteranopia (green-blind)
#81A8FC
Tritanopia (blue-blind)
#A9AABF
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #b898ff;
/* rgb */ color: rgb(184, 152, 255);
/* oklch */ color: oklch(74.9% 0.147 297.0);
Tailwind
colors: {
  custom: {
    50: '#cfb6ff',
    500: '#b898ff',
    950: '#000000',
  },
}
SCSS
$custom: #b898ff;
$custom-light: #cfb6ff;
$custom-dark: #000000;
JSON
{
  "hex": "#b898ff",
  "rgb": {
    "r": 184,
    "g": 152,
    "b": 255
  },
  "hsl": {
    "h": 258.641,
    "s": 100,
    "l": 79.804
  },
  "oklch": {
    "l": 0.74917,
    "c": 0.1475,
    "h": 297
  },
  "luminance": 0.39867
}

Semantic roles & 50–950 ramp

primary
#B898FF
secondary
#ECF7D4
accent
#E6009E
background
#FCFBFF
surface
#F9F6FF
border
#D2D0D7
text
#141118
muted
#828086

Preview Lab

Preview with #B898FF

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

Preview Lab → · Contrast checker → · Palette generator →

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