#B799EB#B799EB

#B799EB is a light, moderate violet. Relative luminance 0.388; OKLCH L 74.1% C 0.120 H 300.3°. Best body text is #000000 at 8.77:1 contrast (WCAG AA passes).

Color values

HEX#B799EB
RGBrgb(183, 153, 235)
HSLhsl(262, 67%, 76%)
HSVhsv(262, 35%, 92%)
CMYKcmyk(22.1%, 34.9%, 0%, 7.8%)
CIE-LABlab(68.64, 27.48, -37.25)
CIE-LCHlch(68.64, 46.29, 306.42°)
OKLaboklab(74.05% 0.0604 -0.1032)
OKLCHoklch(74.05% 0.12 300.3)
XYZxyz(45.9118, 38.8478, 83.6607)
Luminance0.3885 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B799EB #CDEB99
analogous
#99A4EB #B799EB #E099EB
triadic
#B799EB #EBB799 #99EBB7
tetradic
#B799EB #EB99A4 #CDEB99 #99EBE0
square
#B799EB #EB99A4 #CDEB99 #99EBE0
split-complementary
#B799EB #EBE099 #A4EB99
monochromatic
#6F33D7 #9366E1 #B799EB #DBCCF5 #EDE5FA

Accessibility & contrast

On white

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

On black

8.77
#B799EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B799EB
8.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B799EB#FFFFFF#000000##000000
##B799EB1.002.398.778.77
#FFFFFF2.391.0021.0021.00
#0000008.7721.001.001.00
##0000008.7721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b799eb;
/* rgb */ color: rgb(183, 153, 235);
/* oklch */ color: oklch(74.1% 0.120 300.3);
Tailwind
colors: {
  custom: {
    50: '#ceb7f1',
    500: '#b799eb',
    950: '#000000',
  },
}
SCSS
$custom: #b799eb;
$custom-light: #ceb7f1;
$custom-dark: #000000;
JSON
{
  "hex": "#b799eb",
  "rgb": {
    "r": 183,
    "g": 153,
    "b": 235
  },
  "hsl": {
    "h": 261.951,
    "s": 67.213,
    "l": 76.078
  },
  "oklch": {
    "l": 0.7405,
    "c": 0.11961,
    "h": 300.3
  },
  "luminance": 0.38848
}

Semantic roles & 50–950 ramp

primary
#B799EB
secondary
#E9F1DA
accent
#CF168C
background
#FCFBFE
surface
#F9F6FD
border
#D2D0D5
text
#141117
muted
#828085

Preview Lab

Preview with #B799EB

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

Preview Lab → · Contrast checker → · Palette generator →

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