#B899EC#B899EC

#B899EC is a light, vivid violet. Relative luminance 0.390; OKLCH L 74.2% C 0.121 H 300.7°. Best body text is #000000 at 8.81:1 contrast (WCAG AA passes).

Color values

HEX#B899EC
RGBrgb(184, 153, 236)
HSLhsl(262, 69%, 76%)
HSVhsv(262, 35%, 93%)
CMYKcmyk(22%, 35.2%, 0%, 7.5%)
CIE-LABlab(68.77, 28.00, -37.59)
CIE-LCHlch(68.77, 46.87, 306.69°)
OKLaboklab(74.19% 0.0618 -0.1042)
OKLCHoklch(74.19% 0.121 300.7)
XYZxyz(46.2954, 39.0288, 84.4349)
Luminance0.3903 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B899EC #CDEC99
analogous
#99A4EC #B899EC #E299EC
triadic
#B899EC #ECB899 #99ECB8
tetradic
#B899EC #EC99A4 #CDEC99 #99ECE2
square
#B899EC #EC99A4 #CDEC99 #99ECE2
split-complementary
#B899EC #ECE299 #A4EC99
monochromatic
#7032D9 #9465E2 #B899EC #DCCDF6 #EDE5FA

Accessibility & contrast

On white

2.38
#B899EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.81
#B899EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B899EC
8.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B899EC#FFFFFF#000000##000000
##B899EC1.002.388.818.81
#FFFFFF2.381.0021.0021.00
#0000008.8121.001.001.00
##0000008.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#85A7EF
Deuteranopia (green-blind)
#8BA7EA
Tritanopia (blue-blind)
#AFA6B8
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #b899ec;
/* rgb */ color: rgb(184, 153, 236);
/* oklch */ color: oklch(74.2% 0.121 300.7);
Tailwind
colors: {
  custom: {
    50: '#ceb7f2',
    500: '#b899ec',
    950: '#000000',
  },
}
SCSS
$custom: #b899ec;
$custom-light: #ceb7f2;
$custom-dark: #000000;
JSON
{
  "hex": "#b899ec",
  "rgb": {
    "r": 184,
    "g": 153,
    "b": 236
  },
  "hsl": {
    "h": 262.41,
    "s": 68.595,
    "l": 76.275
  },
  "oklch": {
    "l": 0.74185,
    "c": 0.12112,
    "h": 300.7
  },
  "luminance": 0.39029
}

Semantic roles & 50–950 ramp

primary
#B899EC
secondary
#E9F2D9
accent
#D1158A
background
#FCFBFE
surface
#F9F6FD
border
#D2D0D5
text
#141117
muted
#828085

Preview Lab

Preview with #B899EC

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

Preview Lab → · Contrast checker → · Palette generator →

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