#B898F8#B898F8

#B898F8 is a light, vivid violet. Relative luminance 0.394; OKLCH L 74.6% C 0.138 H 298.3°. Best body text is #000000 at 8.88:1 contrast (WCAG AA passes).

Color values

HEX#B898F8
RGBrgb(184, 152, 248)
HSLhsl(260, 87%, 78%)
HSVhsv(260, 39%, 97%)
CMYKcmyk(25.8%, 38.7%, 0%, 2.7%)
CIE-LABlab(69.06, 31.37, -43.70)
CIE-LCHlch(69.06, 53.79, 305.67°)
OKLaboklab(74.57% 0.0657 -0.1218)
OKLCHoklch(74.57% 0.138 298.3)
XYZxyz(47.9348, 39.4238, 93.8729)
Luminance0.3942 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B898F8 #D8F898
analogous
#98A8F8 #B898F8 #E898F8
triadic
#B898F8 #F8B898 #98F8B8
tetradic
#B898F8 #F898A8 #D8F898 #98F8E8
square
#B898F8 #F898A8 #D8F898 #98F8E8
split-complementary
#B898F8 #F8E898 #A8F898
monochromatic
#6925F0 #905FF4 #B898F8 #E0D1FC #EBE2FD

Accessibility & contrast

On white

2.36
#B898F8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.88
#B898F8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B898F8
8.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B898F8#FFFFFF#000000##000000
##B898F81.002.368.888.88
#FFFFFF2.361.0021.0021.00
#0000008.8821.001.001.00
##0000008.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7FA9FC
Deuteranopia (green-blind)
#84A8F5
Tritanopia (blue-blind)
#ABA8BC
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #b898f8;
/* rgb */ color: rgb(184, 152, 248);
/* oklch */ color: oklch(74.6% 0.138 298.3);
Tailwind
colors: {
  custom: {
    50: '#cfb6fb',
    500: '#b898f8',
    950: '#000000',
  },
}
SCSS
$custom: #b898f8;
$custom-light: #cfb6fb;
$custom-dark: #000000;
JSON
{
  "hex": "#b898f8",
  "rgb": {
    "r": 184,
    "g": 152,
    "b": 248
  },
  "hsl": {
    "h": 260,
    "s": 87.273,
    "l": 78.431
  },
  "oklch": {
    "l": 0.74573,
    "c": 0.13839,
    "h": 298.3
  },
  "luminance": 0.39424
}

Semantic roles & 50–950 ramp

primary
#B898F8
secondary
#EBF5D6
accent
#E40298
background
#FCFBFF
surface
#F9F6FF
border
#D2D0D7
text
#141117
muted
#828085

Preview Lab

Preview with #B898F8

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

Preview Lab → · Contrast checker → · Palette generator →

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