#B99EDA#B99EDA

#B99EDA is a light, moderate violet. Relative luminance 0.398; OKLCH L 74.4% C 0.089 H 304.9°. Best body text is #000000 at 8.97:1 contrast (WCAG AA passes).

Color values

HEX#B99EDA
RGBrgb(185, 158, 218)
HSLhsl(267, 45%, 74%)
HSVhsv(267, 28%, 85%)
CMYKcmyk(15.1%, 27.5%, 0%, 14.5%)
CIE-LABlab(69.35, 21.49, -26.80)
CIE-LCHlch(69.35, 34.35, 308.73°)
OKLaboklab(74.41% 0.0512 -0.0734)
OKLCHoklch(74.41% 0.089 304.9)
XYZxyz(44.8869, 39.8301, 71.6393)
Luminance0.3983 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B99EDA #BFDA9E
analogous
#9EA1DA #B99EDA #D79EDA
triadic
#B99EDA #DAB99E #9EDAB9
tetradic
#B99EDA #DA9EA1 #BFDA9E #9EDAD7
square
#B99EDA #DA9EA1 #BFDA9E #9EDAD7
split-complementary
#B99EDA #DAD79E #A1DA9E
monochromatic
#7946B8 #9972C9 #B99EDA #D9CAEB #EFE9F7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B99EDA#FFFFFF#000000##000000
##B99EDA1.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)
#93A8DC
Deuteranopia (green-blind)
#98A9D8
Tritanopia (blue-blind)
#B4A6B3
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #b99eda;
/* rgb */ color: rgb(185, 158, 218);
/* oklch */ color: oklch(74.4% 0.089 304.9);
Tailwind
colors: {
  custom: {
    50: '#cebae5',
    500: '#b99eda',
    950: '#000000',
  },
}
SCSS
$custom: #b99eda;
$custom-light: #cebae5;
$custom-dark: #000000;
JSON
{
  "hex": "#b99eda",
  "rgb": {
    "r": 185,
    "g": 158,
    "b": 218
  },
  "hsl": {
    "h": 267,
    "s": 44.776,
    "l": 73.725
  },
  "oklch": {
    "l": 0.74412,
    "c": 0.08949,
    "h": 304.9
  },
  "luminance": 0.3983
}

Semantic roles & 50–950 ramp

primary
#B99EDA
secondary
#E6EDDE
accent
#B82E7A
background
#FCFBFE
surface
#F9F6FC
border
#D2D0D5
text
#141115
muted
#828084

Preview Lab

Preview with #B99EDA

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

Preview Lab → · Contrast checker → · Palette generator →

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