#B79EF2#B79EF2

#B79EF2 is a light, vivid violet. Relative luminance 0.409; OKLCH L 75.3% C 0.121 H 297.1°. Best body text is #000000 at 9.19:1 contrast (WCAG AA passes).

Color values

HEX#B79EF2
RGBrgb(183, 158, 242)
HSLhsl(258, 76%, 78%)
HSVhsv(258, 35%, 95%)
CMYKcmyk(24.4%, 34.7%, 0%, 5.1%)
CIE-LABlab(70.13, 26.32, -38.76)
CIE-LCHlch(70.13, 46.85, 304.18°)
OKLaboklab(75.28% 0.0551 -0.1076)
OKLCHoklch(75.28% 0.121 297.1)
XYZxyz(47.7786, 40.9314, 89.3706)
Luminance0.4093 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B79EF2 #D9F29E
analogous
#9EAFF2 #B79EF2 #E19EF2
triadic
#B79EF2 #F2B79E #9EF2B7
tetradic
#B79EF2 #F29EAF #D9F29E #9EF2E1
square
#B79EF2 #F29EAF #D9F29E #9EF2E1
split-complementary
#B79EF2 #F2E19E #AFF29E
monochromatic
#6732E4 #8F68EB #B79EF2 #DFD4F9 #EBE4FB

Accessibility & contrast

On white

2.29
#B79EF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.19
#B79EF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B79EF2
9.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B79EF2#FFFFFF#000000##000000
##B79EF21.002.299.199.19
#FFFFFF2.291.0021.0021.00
#0000009.1921.001.001.00
##0000009.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#89ACF5
Deuteranopia (green-blind)
#8DABF0
Tritanopia (blue-blind)
#ABACBD
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #b79ef2;
/* rgb */ color: rgb(183, 158, 242);
/* oklch */ color: oklch(75.3% 0.121 297.1);
Tailwind
colors: {
  custom: {
    50: '#cebaf6',
    500: '#b79ef2',
    950: '#000000',
  },
}
SCSS
$custom: #b79ef2;
$custom-light: #cebaf6;
$custom-dark: #000000;
JSON
{
  "hex": "#b79ef2",
  "rgb": {
    "r": 183,
    "g": 158,
    "b": 242
  },
  "hsl": {
    "h": 257.857,
    "s": 76.364,
    "l": 78.431
  },
  "oklch": {
    "l": 0.75281,
    "c": 0.12086,
    "h": 297.1
  },
  "luminance": 0.40932
}

Semantic roles & 50–950 ramp

primary
#B79EF2
secondary
#EBF3D8
accent
#D90D9C
background
#FCFBFF
surface
#F9F6FE
border
#D2D0D6
text
#141117
muted
#828085

Preview Lab

Preview with #B79EF2

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

Preview Lab → · Contrast checker → · Palette generator →

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