#B799F7#B799F7

#B799F7 is a light, vivid violet. Relative luminance 0.396; OKLCH L 74.6% C 0.135 H 297.7°. Best body text is #000000 at 8.91:1 contrast (WCAG AA passes).

Color values

HEX#B799F7
RGBrgb(183, 153, 247)
HSLhsl(259, 85%, 78%)
HSVhsv(259, 38%, 97%)
CMYKcmyk(25.9%, 38.1%, 0%, 3.1%)
CIE-LABlab(69.16, 30.29, -43.00)
CIE-LCHlch(69.16, 52.60, 305.16°)
OKLaboklab(74.61% 0.063 -0.1198)
OKLCHoklch(74.61% 0.135 297.7)
XYZxyz(47.7043, 39.5647, 93.1012)
Luminance0.3957 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B799F7 #D9F799
analogous
#99AAF7 #B799F7 #E699F7
triadic
#B799F7 #F7B799 #99F7B7
tetradic
#B799F7 #F799AA #D9F799 #99F7E6
square
#B799F7 #F799AA #D9F799 #99F7E6
split-complementary
#B799F7 #F7E699 #AAF799
monochromatic
#6727EE #8F60F3 #B799F7 #DFD2FB #EBE3FD

Accessibility & contrast

On white

2.36
#B799F7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.91
#B799F7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B799F7
8.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B799F7#FFFFFF#000000##000000
##B799F71.002.368.918.91
#FFFFFF2.361.0021.0021.00
#0000008.9121.001.001.00
##0000008.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#80A9FB
Deuteranopia (green-blind)
#85A8F5
Tritanopia (blue-blind)
#AAA9BC
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #b799f7;
/* rgb */ color: rgb(183, 153, 247);
/* oklch */ color: oklch(74.6% 0.135 297.7);
Tailwind
colors: {
  custom: {
    50: '#ceb7fa',
    500: '#b799f7',
    950: '#000000',
  },
}
SCSS
$custom: #b799f7;
$custom-light: #ceb7fa;
$custom-dark: #000000;
JSON
{
  "hex": "#b799f7",
  "rgb": {
    "r": 183,
    "g": 153,
    "b": 247
  },
  "hsl": {
    "h": 259.149,
    "s": 85.455,
    "l": 78.431
  },
  "oklch": {
    "l": 0.74614,
    "c": 0.13536,
    "h": 297.7
  },
  "luminance": 0.39565
}

Semantic roles & 50–950 ramp

primary
#B799F7
secondary
#EBF5D6
accent
#E2049B
background
#FCFBFF
surface
#F9F6FF
border
#D2D0D7
text
#141117
muted
#828085

Preview Lab

Preview with #B799F7

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

Preview Lab → · Contrast checker → · Palette generator →

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