#B799FC#B799FC

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

Color values

HEX#B799FC
RGBrgb(183, 153, 252)
HSLhsl(258, 94%, 79%)
HSVhsv(258, 39%, 99%)
CMYKcmyk(27.4%, 39.3%, 0%, 1.2%)
CIE-LABlab(69.38, 31.49, -45.38)
CIE-LCHlch(69.38, 55.23, 304.76°)
OKLaboklab(74.86% 0.064 -0.1267)
OKLCHoklch(74.86% 0.142 296.8)
XYZxyz(48.4862, 39.8775, 97.2192)
Luminance0.3988 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B799FC #DEFC99
analogous
#99ADFC #B799FC #E999FC
triadic
#B799FC #FCB799 #99FCB7
tetradic
#B799FC #FC99AD #DEFC99 #99FCE9
square
#B799FC #FC99AD #DEFC99 #99FCE9
split-complementary
#B799FC #FCE999 #ADFC99
monochromatic
#6322F9 #8D5EFA #B799FC #E1D4FE #EAE1FE

Accessibility & contrast

On white

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

On black

8.98
#B799FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B799FC
8.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B799FC#FFFFFF#000000##000000
##B799FC1.002.348.988.98
#FFFFFF2.341.0021.0021.00
#0000008.9821.001.001.00
##0000008.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7EAAFF
Deuteranopia (green-blind)
#83A8F9
Tritanopia (blue-blind)
#A9AABF
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #b799fc;
/* rgb */ color: rgb(183, 153, 252);
/* oklch */ color: oklch(74.9% 0.142 296.8);
Tailwind
colors: {
  custom: {
    50: '#ceb7fe',
    500: '#b799fc',
    950: '#000000',
  },
}
SCSS
$custom: #b799fc;
$custom-light: #ceb7fe;
$custom-dark: #000000;
JSON
{
  "hex": "#b799fc",
  "rgb": {
    "r": 183,
    "g": 153,
    "b": 252
  },
  "hsl": {
    "h": 258.182,
    "s": 94.286,
    "l": 79.412
  },
  "oklch": {
    "l": 0.74857,
    "c": 0.14191,
    "h": 296.8
  },
  "luminance": 0.39878
}

Semantic roles & 50–950 ramp

primary
#B799FC
secondary
#ECF6D5
accent
#E600A0
background
#FCFBFF
surface
#F9F6FF
border
#D2D0D7
text
#141118
muted
#828086

Preview Lab

Preview with #B799FC

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

Preview Lab → · Contrast checker → · Palette generator →

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