#B799EE#B799EE

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

Color values

HEX#B799EE
RGBrgb(183, 153, 238)
HSLhsl(261, 71%, 77%)
HSVhsv(261, 36%, 93%)
CMYKcmyk(23.1%, 35.7%, 0%, 6.7%)
CIE-LABlab(68.77, 28.18, -38.70)
CIE-LCHlch(68.77, 47.87, 306.06°)
OKLaboklab(74.19% 0.0611 -0.1074)
OKLCHoklch(74.19% 0.124 299.6)
XYZxyz(46.3489, 39.0226, 85.9626)
Luminance0.3902 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B799EE #D0EE99
analogous
#99A6EE #B799EE #E199EE
triadic
#B799EE #EEB799 #99EEB7
tetradic
#B799EE #EE99A6 #D0EE99 #99EEE1
square
#B799EE #EE99A6 #D0EE99 #99EEE1
split-complementary
#B799EE #EEE199 #A6EE99
monochromatic
#6D30DD #9265E5 #B799EE #DCCDF7 #ECE5FB

Accessibility & contrast

On white

2.39
#B799EE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.80
#B799EE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B799EE
8.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B799EE#FFFFFF#000000##000000
##B799EE1.002.398.808.80
#FFFFFF2.391.0021.0021.00
#0000008.8021.001.001.00
##0000008.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#84A8F1
Deuteranopia (green-blind)
#8AA7EC
Tritanopia (blue-blind)
#ADA7B9
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #b799ee;
/* rgb */ color: rgb(183, 153, 238);
/* oklch */ color: oklch(74.2% 0.124 299.6);
Tailwind
colors: {
  custom: {
    50: '#ceb7f4',
    500: '#b799ee',
    950: '#000000',
  },
}
SCSS
$custom: #b799ee;
$custom-light: #ceb7f4;
$custom-dark: #000000;
JSON
{
  "hex": "#b799ee",
  "rgb": {
    "r": 183,
    "g": 153,
    "b": 238
  },
  "hsl": {
    "h": 261.176,
    "s": 71.429,
    "l": 76.667
  },
  "oklch": {
    "l": 0.74188,
    "c": 0.12355,
    "h": 299.6
  },
  "luminance": 0.39023
}

Semantic roles & 50–950 ramp

primary
#B799EE
secondary
#E9F2D9
accent
#D3128F
background
#FCFBFE
surface
#F9F6FD
border
#D2D0D5
text
#141117
muted
#828085

Preview Lab

Preview with #B799EE

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

Preview Lab → · Contrast checker → · Palette generator →

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