#B799FA#B799FA

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

Color values

HEX#B799FA
RGBrgb(183, 153, 250)
HSLhsl(259, 91%, 79%)
HSVhsv(259, 39%, 98%)
CMYKcmyk(26.8%, 38.8%, 0%, 2%)
CIE-LABlab(69.29, 31.01, -44.43)
CIE-LCHlch(69.29, 54.18, 304.91°)
OKLaboklab(74.76% 0.0636 -0.1239)
OKLCHoklch(74.76% 0.139 297.2)
XYZxyz(48.1709, 39.7514, 95.5589)
Luminance0.3975 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B799FA #DCFA99
analogous
#99ACFA #B799FA #E899FA
triadic
#B799FA #FAB799 #99FAB7
tetradic
#B799FA #FA99AC #DCFA99 #99FAE8
square
#B799FA #FA99AC #DCFA99 #99FAE8
split-complementary
#B799FA #FAE899 #ACFA99
monochromatic
#6524F4 #8E5FF7 #B799FA #E0D3FD #EAE2FE

Accessibility & contrast

On white

2.35
#B799FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.95
#B799FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B799FA
8.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B799FA#FFFFFF#000000##000000
##B799FA1.002.358.958.95
#FFFFFF2.351.0021.0021.00
#0000008.9521.001.001.00
##0000008.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7FAAFE
Deuteranopia (green-blind)
#84A8F7
Tritanopia (blue-blind)
#A9AABE
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #b799fa;
/* rgb */ color: rgb(183, 153, 250);
/* oklch */ color: oklch(74.8% 0.139 297.2);
Tailwind
colors: {
  custom: {
    50: '#ceb7fc',
    500: '#b799fa',
    950: '#000000',
  },
}
SCSS
$custom: #b799fa;
$custom-light: #ceb7fc;
$custom-dark: #000000;
JSON
{
  "hex": "#b799fa",
  "rgb": {
    "r": 183,
    "g": 153,
    "b": 250
  },
  "hsl": {
    "h": 258.557,
    "s": 90.654,
    "l": 79.02
  },
  "oklch": {
    "l": 0.74759,
    "c": 0.13929,
    "h": 297.2
  },
  "luminance": 0.39752
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B799FA

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

Preview Lab → · Contrast checker → · Palette generator →

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