#B799FE#B799FE

#B799FE is a light, vivid violet. Relative luminance 0.400; OKLCH L 75.0% C 0.145 H 296.4°. Best body text is #000000 at 9.00:1 contrast (WCAG AA passes).

Color values

HEX#B799FE
RGBrgb(183, 153, 254)
HSLhsl(258, 98%, 80%)
HSVhsv(258, 40%, 100%)
CMYKcmyk(28%, 39.8%, 0%, 0.4%)
CIE-LABlab(69.47, 31.97, -46.32)
CIE-LCHlch(69.47, 56.28, 304.61°)
OKLaboklab(74.96% 0.0643 -0.1294)
OKLCHoklch(74.96% 0.145 296.4)
XYZxyz(48.8048, 40.0050, 98.8972)
Luminance0.4001 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B799FE #E0FE99
analogous
#99AEFE #B799FE #EA99FE
triadic
#B799FE #FEB799 #99FEB7
tetradic
#B799FE #FE99AE #E0FE99 #99FEEA
square
#B799FE #FE99AE #E0FE99 #99FEEA
split-complementary
#B799FE #FEEA99 #AEFE99
monochromatic
#6120FD #8C5CFD #B799FE #E2D6FF #EAE1FF

Accessibility & contrast

On white

2.33
#B799FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.00
#B799FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B799FE
9.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B799FE#FFFFFF#000000##000000
##B799FE1.002.339.009.00
#FFFFFF2.331.0021.0021.00
#0000009.0021.001.001.00
##0000009.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7DAAFF
Deuteranopia (green-blind)
#82A8FB
Tritanopia (blue-blind)
#A8ABBF
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #b799fe;
/* rgb */ color: rgb(183, 153, 254);
/* oklch */ color: oklch(75.0% 0.145 296.4);
Tailwind
colors: {
  custom: {
    50: '#ceb7ff',
    500: '#b799fe',
    950: '#000000',
  },
}
SCSS
$custom: #b799fe;
$custom-light: #ceb7ff;
$custom-dark: #000000;
JSON
{
  "hex": "#b799fe",
  "rgb": {
    "r": 183,
    "g": 153,
    "b": 254
  },
  "hsl": {
    "h": 257.822,
    "s": 98.058,
    "l": 79.804
  },
  "oklch": {
    "l": 0.74956,
    "c": 0.14452,
    "h": 296.4
  },
  "luminance": 0.40006
}

Semantic roles & 50–950 ramp

primary
#B799FE
secondary
#EDF7D4
accent
#E600A1
background
#FCFBFF
surface
#F9F6FF
border
#D2D0D7
text
#141118
muted
#828086

Preview Lab

Preview with #B799FE

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

Preview Lab → · Contrast checker → · Palette generator →

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