#B799CA#B799CA

#B799CA is a light, moderate violet. Relative luminance 0.371; OKLCH L 72.7% C 0.077 H 312.1°. Best body text is #000000 at 8.42:1 contrast (WCAG AA passes).

Color values

HEX#B799CA
RGBrgb(183, 153, 202)
HSLhsl(277, 32%, 70%)
HSVhsv(277, 24%, 79%)
CMYKcmyk(9.4%, 24.3%, 0%, 20.8%)
CIE-LABlab(67.36, 20.24, -21.00)
CIE-LCHlch(67.36, 29.16, 313.94°)
OKLaboklab(72.65% 0.0516 -0.0571)
OKLCHoklch(72.65% 0.077 312.1)
XYZxyz(41.5786, 37.1145, 60.8391)
Luminance0.3711 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B799CA #ACCA99
analogous
#9F99CA #B799CA #CA99C5
triadic
#B799CA #CAB799 #99CAB7
tetradic
#B799CA #CA9F99 #ACCA99 #99C5CA
square
#B799CA #CA9F99 #ACCA99 #99C5CA
split-complementary
#B799CA #C5CA99 #99CA9F
monochromatic
#7D5099 #9B71B5 #B799CA #D3C1DF #F0EAF4

Accessibility & contrast

On white

2.49
#B799CA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.42
#B799CA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B799CA
8.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B799CA#FFFFFF#000000##000000
##B799CA1.002.498.428.42
#FFFFFF2.491.0021.0021.00
#0000008.4221.001.001.00
##0000008.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#92A2CC
Deuteranopia (green-blind)
#98A5C8
Tritanopia (blue-blind)
#B59FAA
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #b799ca;
/* rgb */ color: rgb(183, 153, 202);
/* oklch */ color: oklch(72.7% 0.077 312.1);
Tailwind
colors: {
  custom: {
    50: '#cdb7da',
    500: '#b799ca',
    950: '#000000',
  },
}
SCSS
$custom: #b799ca;
$custom-light: #cdb7da;
$custom-dark: #000000;
JSON
{
  "hex": "#b799ca",
  "rgb": {
    "r": 183,
    "g": 153,
    "b": 202
  },
  "hsl": {
    "h": 276.735,
    "s": 31.613,
    "l": 69.608
  },
  "oklch": {
    "l": 0.7265,
    "c": 0.07692,
    "h": 312.1
  },
  "luminance": 0.37114
}

Semantic roles & 50–950 ramp

primary
#B799CA
secondary
#DEE6D8
accent
#AA3B66
background
#FCFBFD
surface
#F9F6FA
border
#D2D0D3
text
#131114
muted
#828083

Preview Lab

Preview with #B799CA

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

Preview Lab → · Contrast checker → · Palette generator →

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