#B799ED#B799ED

#B799ED is a light, vivid violet. Relative luminance 0.390; OKLCH L 74.1% C 0.122 H 299.9°. Best body text is #000000 at 8.79:1 contrast (WCAG AA passes).

Color values

HEX#B799ED
RGBrgb(183, 153, 237)
HSLhsl(261, 70%, 76%)
HSVhsv(261, 35%, 93%)
CMYKcmyk(22.8%, 35.4%, 0%, 7.1%)
CIE-LABlab(68.73, 27.94, -38.21)
CIE-LCHlch(68.73, 47.34, 306.17°)
OKLaboklab(74.14% 0.0609 -0.106)
OKLCHoklch(74.14% 0.122 299.9)
XYZxyz(46.2023, 38.9640, 85.1911)
Luminance0.3896 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B799ED #CFED99
analogous
#99A5ED #B799ED #E199ED
triadic
#B799ED #EDB799 #99EDB7
tetradic
#B799ED #ED99A5 #CFED99 #99EDE1
square
#B799ED #ED99A5 #CFED99 #99EDE1
split-complementary
#B799ED #EDE199 #A5ED99
monochromatic
#6E31DB #9265E4 #B799ED #DCCDF6 #EDE5FA

Accessibility & contrast

On white

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

On black

8.79
#B799ED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B799ED
8.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B799ED#FFFFFF#000000##000000
##B799ED1.002.398.798.79
#FFFFFF2.391.0021.0021.00
#0000008.7921.001.001.00
##0000008.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#85A7F0
Deuteranopia (green-blind)
#8AA7EB
Tritanopia (blue-blind)
#ADA7B8
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #b799ed;
/* rgb */ color: rgb(183, 153, 237);
/* oklch */ color: oklch(74.1% 0.122 299.9);
Tailwind
colors: {
  custom: {
    50: '#ceb7f3',
    500: '#b799ed',
    950: '#000000',
  },
}
SCSS
$custom: #b799ed;
$custom-light: #ceb7f3;
$custom-dark: #000000;
JSON
{
  "hex": "#b799ed",
  "rgb": {
    "r": 183,
    "g": 153,
    "b": 237
  },
  "hsl": {
    "h": 261.429,
    "s": 70,
    "l": 76.471
  },
  "oklch": {
    "l": 0.74142,
    "c": 0.12224,
    "h": 299.9
  },
  "luminance": 0.38964
}

Semantic roles & 50–950 ramp

primary
#B799ED
secondary
#E9F2D9
accent
#D2148E
background
#FCFBFE
surface
#F9F6FD
border
#D2D0D5
text
#141117
muted
#828085

Preview Lab

Preview with #B799ED

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

Preview Lab → · Contrast checker → · Palette generator →

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