#B479EA#B479EA

#B479EA is a light, vivid violet. Relative luminance 0.293; OKLCH L 68.3% C 0.169 H 306.5°. Best body text is #000000 at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#B479EA
RGBrgb(180, 121, 234)
HSLhsl(271, 73%, 70%)
HSVhsv(271, 48%, 92%)
CMYKcmyk(23.1%, 48.3%, 0%, 8.2%)
CIE-LABlab(61.06, 44.11, -48.62)
CIE-LCHlch(61.06, 65.64, 312.22°)
OKLaboklab(68.25% 0.1009 -0.1361)
OKLCHoklch(68.25% 0.169 306.5)
XYZxyz(40.5080, 29.3189, 81.3511)
Luminance0.2932 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B479EA #AFEA79
analogous
#7C79EA #B479EA #EA79E8
triadic
#B479EA #EAB479 #79EAB4
tetradic
#B479EA #EA7C79 #AFEA79 #79E8EA
square
#B479EA #EA7C79 #AFEA79 #79E8EA
split-complementary
#B479EA #E8EA79 #79EA7C
monochromatic
#7820C9 #9644E2 #B479EA #D2AEF2 #EFE3FB

Accessibility & contrast

On white

3.06
#B479EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.86
#B479EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B479EA
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B479EA#FFFFFF#000000##000000
##B479EA1.003.066.866.86
#FFFFFF3.061.0021.0021.00
#0000006.8621.001.001.00
##0000006.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A91EE
Deuteranopia (green-blind)
#6A94E7
Tritanopia (blue-blind)
#AC8CA7
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #b479ea;
/* rgb */ color: rgb(180, 121, 234);
/* oklch */ color: oklch(68.3% 0.169 306.5);
Tailwind
colors: {
  custom: {
    50: '#cda1f1',
    500: '#b479ea',
    950: '#000000',
  },
}
SCSS
$custom: #b479ea;
$custom-light: #cda1f1;
$custom-dark: #000000;
JSON
{
  "hex": "#b479ea",
  "rgb": {
    "r": 180,
    "g": 121,
    "b": 234
  },
  "hsl": {
    "h": 271.327,
    "s": 72.903,
    "l": 69.608
  },
  "oklch": {
    "l": 0.68253,
    "c": 0.16938,
    "h": 306.5
  },
  "luminance": 0.29319
}

Semantic roles & 50–950 ramp

primary
#B479EA
secondary
#DFF0CF
accent
#D5116E
background
#FCFAFE
surface
#F9F3FD
border
#D2CDD5
text
#140F17
muted
#827F85

Preview Lab

Preview with #B479EA

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

Preview Lab → · Contrast checker → · Palette generator →

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