#B799FD#B799FD

#B799FD is a light, vivid violet. Relative luminance 0.399; OKLCH L 74.9% C 0.143 H 296.6°. Best body text is #000000 at 8.99:1 contrast (WCAG AA passes).

Color values

HEX#B799FD
RGBrgb(183, 153, 253)
HSLhsl(258, 96%, 80%)
HSVhsv(258, 40%, 99%)
CMYKcmyk(27.7%, 39.5%, 0%, 0.8%)
CIE-LABlab(69.43, 31.73, -45.85)
CIE-LCHlch(69.43, 55.76, 304.68°)
OKLaboklab(74.91% 0.0641 -0.128)
OKLCHoklch(74.91% 0.143 296.6)
XYZxyz(48.6451, 39.9411, 98.0560)
Luminance0.3994 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B799FD #DFFD99
analogous
#99ADFD #B799FD #E999FD
triadic
#B799FD #FDB799 #99FDB7
tetradic
#B799FD #FD99AD #DFFD99 #99FDE9
square
#B799FD #FD99AD #DFFD99 #99FDE9
split-complementary
#B799FD #FDE999 #ADFD99
monochromatic
#6221FB #8D5DFC #B799FD #E1D5FE #EAE1FE

Accessibility & contrast

On white

2.34
#B799FD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.99
#B799FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B799FD
8.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B799FD#FFFFFF#000000##000000
##B799FD1.002.348.998.99
#FFFFFF2.341.0021.0021.00
#0000008.9921.001.001.00
##0000008.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7DAAFF
Deuteranopia (green-blind)
#82A8FA
Tritanopia (blue-blind)
#A9AABF
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #b799fd;
/* rgb */ color: rgb(183, 153, 253);
/* oklch */ color: oklch(74.9% 0.143 296.6);
Tailwind
colors: {
  custom: {
    50: '#ceb7fe',
    500: '#b799fd',
    950: '#000000',
  },
}
SCSS
$custom: #b799fd;
$custom-light: #ceb7fe;
$custom-dark: #000000;
JSON
{
  "hex": "#b799fd",
  "rgb": {
    "r": 183,
    "g": 153,
    "b": 253
  },
  "hsl": {
    "h": 258,
    "s": 96.154,
    "l": 79.608
  },
  "oklch": {
    "l": 0.74906,
    "c": 0.14322,
    "h": 296.6
  },
  "luminance": 0.39942
}

Semantic roles & 50–950 ramp

primary
#B799FD
secondary
#ECF7D4
accent
#E600A1
background
#FCFBFF
surface
#F9F6FF
border
#D2D0D7
text
#141118
muted
#828086

Preview Lab

Preview with #B799FD

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

Preview Lab → · Contrast checker → · Palette generator →

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