#B474EE#B474EE

#B474EE is a light, vivid violet. Relative luminance 0.284; OKLCH L 67.7% C 0.182 H 306.4°. Best body text is #000000 at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#B474EE
RGBrgb(180, 116, 238)
HSLhsl(271, 78%, 69%)
HSVhsv(271, 51%, 93%)
CMYKcmyk(24.4%, 51.3%, 0%, 6.7%)
CIE-LABlab(60.22, 47.71, -52.17)
CIE-LCHlch(60.22, 70.70, 312.44°)
OKLaboklab(67.69% 0.1079 -0.1464)
OKLCHoklch(67.69% 0.182 306.4)
XYZxyz(40.4972, 28.3675, 84.2144)
Luminance0.2837 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B474EE #AEEE74
analogous
#7774EE #B474EE #EE74EB
triadic
#B474EE #EEB474 #74EEB4
tetradic
#B474EE #EE7774 #AEEE74 #74EBEE
square
#B474EE #EE7774 #AEEE74 #74EBEE
split-complementary
#B474EE #EBEE74 #74EE77
monochromatic
#7819CE #973DE7 #B474EE #D1ABF5 #EFE1FB

Accessibility & contrast

On white

3.15
#B474EE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.67
#B474EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B474EE
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B474EE#FFFFFF#000000##000000
##B474EE1.003.156.676.67
#FFFFFF3.151.0021.0021.00
#0000006.6721.001.001.00
##0000006.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F8FF2
Deuteranopia (green-blind)
#6292EB
Tritanopia (blue-blind)
#AB8AA6
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #b474ee;
/* rgb */ color: rgb(180, 116, 238);
/* oklch */ color: oklch(67.7% 0.182 306.4);
Tailwind
colors: {
  custom: {
    50: '#cd9ef4',
    500: '#b474ee',
    950: '#000000',
  },
}
SCSS
$custom: #b474ee;
$custom-light: #cd9ef4;
$custom-dark: #000000;
JSON
{
  "hex": "#b474ee",
  "rgb": {
    "r": 180,
    "g": 116,
    "b": 238
  },
  "hsl": {
    "h": 271.475,
    "s": 78.205,
    "l": 69.412
  },
  "oklch": {
    "l": 0.67694,
    "c": 0.18188,
    "h": 306.4
  },
  "luminance": 0.28367
}

Semantic roles & 50–950 ramp

primary
#B474EE
secondary
#DEF0CD
accent
#DA0B6E
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#140E17
muted
#827E85

Preview Lab

Preview with #B474EE

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

Preview Lab → · Contrast checker → · Palette generator →

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