#B799FB#B799FB

#B799FB is a light, vivid violet. Relative luminance 0.398; OKLCH L 74.8% C 0.141 H 297.0°. Best body text is #000000 at 8.96:1 contrast (WCAG AA passes).

Color values

HEX#B799FB
RGBrgb(183, 153, 251)
HSLhsl(258, 92%, 79%)
HSVhsv(258, 39%, 98%)
CMYKcmyk(27.1%, 39%, 0%, 1.6%)
CIE-LABlab(69.34, 31.25, -44.90)
CIE-LCHlch(69.34, 54.70, 304.83°)
OKLaboklab(74.81% 0.0638 -0.1253)
OKLCHoklch(74.81% 0.141 297)
XYZxyz(48.3281, 39.8143, 96.3869)
Luminance0.3982 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B799FB #DDFB99
analogous
#99ACFB #B799FB #E899FB
triadic
#B799FB #FBB799 #99FBB7
tetradic
#B799FB #FB99AC #DDFB99 #99FBE8
square
#B799FB #FB99AC #DDFB99 #99FBE8
split-complementary
#B799FB #FBE899 #ACFB99
monochromatic
#6423F6 #8D5EF9 #B799FB #E1D4FD #EAE2FE

Accessibility & contrast

On white

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

On black

8.96
#B799FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B799FB
8.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B799FB#FFFFFF#000000##000000
##B799FB1.002.348.968.96
#FFFFFF2.341.0021.0021.00
#0000008.9621.001.001.00
##0000008.9621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b799fb;
/* rgb */ color: rgb(183, 153, 251);
/* oklch */ color: oklch(74.8% 0.141 297.0);
Tailwind
colors: {
  custom: {
    50: '#ceb7fd',
    500: '#b799fb',
    950: '#000000',
  },
}
SCSS
$custom: #b799fb;
$custom-light: #ceb7fd;
$custom-dark: #000000;
JSON
{
  "hex": "#b799fb",
  "rgb": {
    "r": 183,
    "g": 153,
    "b": 251
  },
  "hsl": {
    "h": 258.367,
    "s": 92.453,
    "l": 79.216
  },
  "oklch": {
    "l": 0.74808,
    "c": 0.1406,
    "h": 297
  },
  "luminance": 0.39815
}

Semantic roles & 50–950 ramp

primary
#B799FB
secondary
#ECF6D5
accent
#E6009F
background
#FCFBFF
surface
#F9F6FF
border
#D2D0D7
text
#141117
muted
#828085

Preview Lab

Preview with #B799FB

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

Preview Lab → · Contrast checker → · Palette generator →

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