#B474EC#B474EC

#B474EC is a light, vivid violet. Relative luminance 0.282; OKLCH L 67.6% C 0.180 H 306.9°. Best body text is #000000 at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#B474EC
RGBrgb(180, 116, 236)
HSLhsl(272, 76%, 69%)
HSVhsv(272, 51%, 93%)
CMYKcmyk(23.7%, 50.8%, 0%, 7.5%)
CIE-LABlab(60.11, 47.25, -51.23)
CIE-LCHlch(60.11, 69.69, 312.69°)
OKLaboklab(67.58% 0.1077 -0.1437)
OKLCHoklch(67.58% 0.18 306.9)
XYZxyz(40.2050, 28.2506, 82.6755)
Luminance0.2825 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B474EC #ACEC74
analogous
#7874EC #B474EC #EC74E8
triadic
#B474EC #ECB474 #74ECB4
tetradic
#B474EC #EC7874 #ACEC74 #74E8EC
square
#B474EC #EC7874 #ACEC74 #74E8EC
split-complementary
#B474EC #E8EC74 #74EC78
monochromatic
#791CCA #973EE5 #B474EC #D1AAF3 #EEE0FB

Accessibility & contrast

On white

3.16
#B474EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.65
#B474EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B474EC
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B474EC#FFFFFF#000000##000000
##B474EC1.003.166.656.65
#FFFFFF3.161.0021.0021.00
#0000006.6521.001.001.00
##0000006.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#518FF0
Deuteranopia (green-blind)
#6491E9
Tritanopia (blue-blind)
#AB89A5
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #b474ec;
/* rgb */ color: rgb(180, 116, 236);
/* oklch */ color: oklch(67.6% 0.180 306.9);
Tailwind
colors: {
  custom: {
    50: '#cd9ef3',
    500: '#b474ec',
    950: '#000000',
  },
}
SCSS
$custom: #b474ec;
$custom-light: #cd9ef3;
$custom-dark: #000000;
JSON
{
  "hex": "#b474ec",
  "rgb": {
    "r": 180,
    "g": 116,
    "b": 236
  },
  "hsl": {
    "h": 272,
    "s": 75.949,
    "l": 69.02
  },
  "oklch": {
    "l": 0.67583,
    "c": 0.17957,
    "h": 306.9
  },
  "luminance": 0.2825
}

Semantic roles & 50–950 ramp

primary
#B474EC
secondary
#DDEFCC
accent
#D80D6C
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#140E17
muted
#827E85

Preview Lab

Preview with #B474EC

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

Preview Lab → · Contrast checker → · Palette generator →

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