#B799EA#B799EA

#B799EA is a light, moderate violet. Relative luminance 0.388; OKLCH L 74.0% C 0.118 H 300.6°. Best body text is #000000 at 8.76:1 contrast (WCAG AA passes).

Color values

HEX#B799EA
RGBrgb(183, 153, 234)
HSLhsl(262, 66%, 76%)
HSVhsv(262, 35%, 92%)
CMYKcmyk(21.8%, 34.6%, 0%, 8.2%)
CIE-LABlab(68.60, 27.25, -36.77)
CIE-LCHlch(68.60, 45.76, 306.55°)
OKLaboklab(74% 0.0602 -0.1018)
OKLCHoklch(74% 0.118 300.6)
XYZxyz(45.7677, 38.7901, 82.9020)
Luminance0.3879 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B799EA #CCEA99
analogous
#99A3EA #B799EA #DF99EA
triadic
#B799EA #EAB799 #99EAB7
tetradic
#B799EA #EA99A3 #CCEA99 #99EADF
square
#B799EA #EA99A3 #CCEA99 #99EADF
split-complementary
#B799EA #EADF99 #A3EA99
monochromatic
#6F33D5 #9366E0 #B799EA #DBCCF4 #EDE6FA

Accessibility & contrast

On white

2.40
#B799EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.76
#B799EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B799EA
8.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B799EA#FFFFFF#000000##000000
##B799EA1.002.408.768.76
#FFFFFF2.401.0021.0021.00
#0000008.7621.001.001.00
##0000008.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#86A7ED
Deuteranopia (green-blind)
#8CA7E8
Tritanopia (blue-blind)
#AEA6B7
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #b799ea;
/* rgb */ color: rgb(183, 153, 234);
/* oklch */ color: oklch(74.0% 0.118 300.6);
Tailwind
colors: {
  custom: {
    50: '#ceb7f1',
    500: '#b799ea',
    950: '#000000',
  },
}
SCSS
$custom: #b799ea;
$custom-light: #ceb7f1;
$custom-dark: #000000;
JSON
{
  "hex": "#b799ea",
  "rgb": {
    "r": 183,
    "g": 153,
    "b": 234
  },
  "hsl": {
    "h": 262.222,
    "s": 65.854,
    "l": 75.882
  },
  "oklch": {
    "l": 0.74004,
    "c": 0.1183,
    "h": 300.6
  },
  "luminance": 0.3879
}

Semantic roles & 50–950 ramp

primary
#B799EA
secondary
#E9F1DA
accent
#CE188A
background
#FCFBFE
surface
#F9F6FD
border
#D2D0D5
text
#141116
muted
#828084

Preview Lab

Preview with #B799EA

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

Preview Lab → · Contrast checker → · Palette generator →

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