#B799EF#B799EF

#B799EF is a light, vivid violet. Relative luminance 0.391; OKLCH L 74.2% C 0.125 H 299.4°. Best body text is #000000 at 8.82:1 contrast (WCAG AA passes).

Color values

HEX#B799EF
RGBrgb(183, 153, 239)
HSLhsl(261, 73%, 77%)
HSVhsv(261, 36%, 94%)
CMYKcmyk(23.4%, 36%, 0%, 6.3%)
CIE-LABlab(68.81, 28.41, -39.18)
CIE-LCHlch(68.81, 48.39, 305.95°)
OKLaboklab(74.24% 0.0613 -0.1088)
OKLCHoklch(74.24% 0.125 299.4)
XYZxyz(46.4962, 39.0815, 86.7385)
Luminance0.3908 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B799EF #D1EF99
analogous
#99A6EF #B799EF #E299EF
triadic
#B799EF #EFB799 #99EFB7
tetradic
#B799EF #EF99A6 #D1EF99 #99EFE2
square
#B799EF #EF99A6 #D1EF99 #99EFE2
split-complementary
#B799EF #EFE299 #A6EF99
monochromatic
#6C2FDE #9264E7 #B799EF #DCCEF7 #ECE5FB

Accessibility & contrast

On white

2.38
#B799EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.82
#B799EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B799EF
8.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B799EF#FFFFFF#000000##000000
##B799EF1.002.388.828.82
#FFFFFF2.381.0021.0021.00
#0000008.8221.001.001.00
##0000008.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#84A8F2
Deuteranopia (green-blind)
#89A7ED
Tritanopia (blue-blind)
#ADA7B9
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #b799ef;
/* rgb */ color: rgb(183, 153, 239);
/* oklch */ color: oklch(74.2% 0.125 299.4);
Tailwind
colors: {
  custom: {
    50: '#ceb7f4',
    500: '#b799ef',
    950: '#000000',
  },
}
SCSS
$custom: #b799ef;
$custom-light: #ceb7f4;
$custom-dark: #000000;
JSON
{
  "hex": "#b799ef",
  "rgb": {
    "r": 183,
    "g": 153,
    "b": 239
  },
  "hsl": {
    "h": 260.93,
    "s": 72.881,
    "l": 76.863
  },
  "oklch": {
    "l": 0.74235,
    "c": 0.12486,
    "h": 299.4
  },
  "luminance": 0.39082
}

Semantic roles & 50–950 ramp

primary
#B799EF
secondary
#E9F3D8
accent
#D51190
background
#FCFBFE
surface
#F9F6FD
border
#D2D0D5
text
#141117
muted
#828085

Preview Lab

Preview with #B799EF

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

Preview Lab → · Contrast checker → · Palette generator →

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