#B79ECA#B79ECA

#B79ECA is a light, moderate violet. Relative luminance 0.388; OKLCH L 73.6% C 0.068 H 310.3°. Best body text is #000000 at 8.76:1 contrast (WCAG AA passes).

Color values

HEX#B79ECA
RGBrgb(183, 158, 202)
HSLhsl(274, 29%, 71%)
HSVhsv(274, 22%, 79%)
CMYKcmyk(9.4%, 21.8%, 0%, 20.8%)
CIE-LABlab(68.60, 17.45, -19.13)
CIE-LCHlch(68.60, 25.89, 312.38°)
OKLaboklab(73.6% 0.0441 -0.0519)
OKLCHoklch(73.6% 0.068 310.3)
XYZxyz(42.4141, 38.7856, 61.1176)
Luminance0.3878 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B79ECA #B1CA9E
analogous
#A19ECA #B79ECA #CA9EC7
triadic
#B79ECA #CAB79E #9ECAB7
tetradic
#B79ECA #CAA19E #B1CA9E #9EC7CA
square
#B79ECA #CAA19E #B1CA9E #9EC7CA
split-complementary
#B79ECA #C7CA9E #9ECAA1
monochromatic
#7C549A #9A76B4 #B79ECA #D4C6E0 #F0EBF4

Accessibility & contrast

On white

2.40
#B79ECA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.76
#B79ECA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B79ECA
8.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B79ECA#FFFFFF#000000##000000
##B79ECA1.002.408.768.76
#FFFFFF2.401.0021.0021.00
#0000008.7621.001.001.00
##0000008.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#97A6CC
Deuteranopia (green-blind)
#9CA8C9
Tritanopia (blue-blind)
#B5A3AD
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #b79eca;
/* rgb */ color: rgb(183, 158, 202);
/* oklch */ color: oklch(73.6% 0.068 310.3);
Tailwind
colors: {
  custom: {
    50: '#cdbada',
    500: '#b79eca',
    950: '#000000',
  },
}
SCSS
$custom: #b79eca;
$custom-light: #cdbada;
$custom-dark: #000000;
JSON
{
  "hex": "#b79eca",
  "rgb": {
    "r": 183,
    "g": 158,
    "b": 202
  },
  "hsl": {
    "h": 274.091,
    "s": 29.333,
    "l": 70.588
  },
  "oklch": {
    "l": 0.736,
    "c": 0.06808,
    "h": 310.3
  },
  "luminance": 0.38785
}

Semantic roles & 50–950 ramp

primary
#B79ECA
secondary
#E1E8DC
accent
#A83E6B
background
#FCFBFD
surface
#F9F6FA
border
#D2D0D3
text
#131114
muted
#828083

Preview Lab

Preview with #B79ECA

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

Preview Lab → · Contrast checker → · Palette generator →

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