#B79DFC#B79DFC

#B79DFC is a light, vivid violet. Relative luminance 0.412; OKLCH L 75.6% C 0.136 H 295.6°. Best body text is #000000 at 9.24:1 contrast (WCAG AA passes).

Color values

HEX#B79DFC
RGBrgb(183, 157, 252)
HSLhsl(256, 94%, 80%)
HSVhsv(256, 38%, 99%)
CMYKcmyk(27.4%, 37.7%, 0%, 1.2%)
CIE-LABlab(70.32, 29.25, -43.90)
CIE-LCHlch(70.32, 52.76, 303.68°)
OKLaboklab(75.57% 0.0586 -0.1224)
OKLCHoklch(75.57% 0.136 295.6)
XYZxyz(49.1519, 41.2089, 97.4411)
Luminance0.4121 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B79DFC #E2FC9D
analogous
#9DB2FC #B79DFC #E69DFC
triadic
#B79DFC #FCB79D #9DFCB7
tetradic
#B79DFC #FC9DB2 #E2FC9D #9DFCE6
square
#B79DFC #FC9DB2 #E2FC9D #9DFCE6
split-complementary
#B79DFC #FCE69D #B2FC9D
monochromatic
#6026F8 #8B62FA #B79DFC #E3D8FE #E9E1FE

Accessibility & contrast

On white

2.27
#B79DFC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.24
#B79DFC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B79DFC
9.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B79DFC#FFFFFF#000000##000000
##B79DFC1.002.279.249.24
#FFFFFF2.271.0021.0021.00
#0000009.2421.001.001.00
##0000009.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#83ADFF
Deuteranopia (green-blind)
#87ABFA
Tritanopia (blue-blind)
#A9ADC1
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #b79dfc;
/* rgb */ color: rgb(183, 157, 252);
/* oklch */ color: oklch(75.6% 0.136 295.6);
Tailwind
colors: {
  custom: {
    50: '#cebafd',
    500: '#b79dfc',
    950: '#000000',
  },
}
SCSS
$custom: #b79dfc;
$custom-light: #cebafd;
$custom-dark: #000000;
JSON
{
  "hex": "#b79dfc",
  "rgb": {
    "r": 183,
    "g": 157,
    "b": 252
  },
  "hsl": {
    "h": 256.421,
    "s": 94.059,
    "l": 80.196
  },
  "oklch": {
    "l": 0.75571,
    "c": 0.13571,
    "h": 295.6
  },
  "luminance": 0.41209
}

Semantic roles & 50–950 ramp

primary
#B79DFC
secondary
#EDF6D5
accent
#E600A7
background
#FCFBFF
surface
#F9F6FF
border
#D2D0D7
text
#141118
muted
#828086

Preview Lab

Preview with #B79DFC

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

Preview Lab → · Contrast checker → · Palette generator →

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