#B79DF2#B79DF2

#B79DF2 is a light, vivid violet. Relative luminance 0.406; OKLCH L 75.1% C 0.122 H 297.4°. Best body text is #000000 at 9.12:1 contrast (WCAG AA passes).

Color values

HEX#B79DF2
RGBrgb(183, 157, 242)
HSLhsl(258, 77%, 78%)
HSVhsv(258, 35%, 95%)
CMYKcmyk(24.4%, 35.1%, 0%, 5.1%)
CIE-LABlab(69.89, 26.88, -39.13)
CIE-LCHlch(69.89, 47.48, 304.48°)
OKLaboklab(75.1% 0.0564 -0.1087)
OKLCHoklch(75.1% 0.122 297.4)
XYZxyz(47.6087, 40.5916, 89.3139)
Luminance0.4059 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B79DF2 #D8F29D
analogous
#9DADF2 #B79DF2 #E19DF2
triadic
#B79DF2 #F2B79D #9DF2B7
tetradic
#B79DF2 #F29DAD #D8F29D #9DF2E1
square
#B79DF2 #F29DAD #D8F29D #9DF2E1
split-complementary
#B79DF2 #F2E19D #ADF29D
monochromatic
#6831E4 #8F67EB #B79DF2 #DFD3F9 #EBE4FB

Accessibility & contrast

On white

2.30
#B79DF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.12
#B79DF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B79DF2
9.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B79DF2#FFFFFF#000000##000000
##B79DF21.002.309.129.12
#FFFFFF2.301.0021.0021.00
#0000009.1221.001.001.00
##0000009.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#88ABF5
Deuteranopia (green-blind)
#8CAAF0
Tritanopia (blue-blind)
#ACABBC
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #b79df2;
/* rgb */ color: rgb(183, 157, 242);
/* oklch */ color: oklch(75.1% 0.122 297.4);
Tailwind
colors: {
  custom: {
    50: '#cebaf6',
    500: '#b79df2',
    950: '#000000',
  },
}
SCSS
$custom: #b79df2;
$custom-light: #cebaf6;
$custom-dark: #000000;
JSON
{
  "hex": "#b79df2",
  "rgb": {
    "r": 183,
    "g": 157,
    "b": 242
  },
  "hsl": {
    "h": 258.353,
    "s": 76.577,
    "l": 78.235
  },
  "oklch": {
    "l": 0.75099,
    "c": 0.12245,
    "h": 297.4
  },
  "luminance": 0.40592
}

Semantic roles & 50–950 ramp

primary
#B79DF2
secondary
#EBF3D8
accent
#D90D9A
background
#FCFBFF
surface
#F9F6FE
border
#D2D0D6
text
#141117
muted
#828085

Preview Lab

Preview with #B79DF2

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

Preview Lab → · Contrast checker → · Palette generator →

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