#B474ED#B474ED

#B474ED is a light, vivid violet. Relative luminance 0.283; OKLCH L 67.6% C 0.181 H 306.6°. Best body text is #000000 at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#B474ED
RGBrgb(180, 116, 237)
HSLhsl(272, 77%, 69%)
HSVhsv(272, 51%, 93%)
CMYKcmyk(24.1%, 51.1%, 0%, 7.1%)
CIE-LABlab(60.17, 47.48, -51.70)
CIE-LCHlch(60.17, 70.20, 312.56°)
OKLaboklab(67.64% 0.1078 -0.1451)
OKLCHoklch(67.64% 0.181 306.6)
XYZxyz(40.3507, 28.3089, 83.4428)
Luminance0.2831 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B474ED #ADED74
analogous
#7874ED #B474ED #ED74E9
triadic
#B474ED #EDB474 #74EDB4
tetradic
#B474ED #ED7874 #ADED74 #74E9ED
square
#B474ED #ED7874 #ADED74 #74E9ED
split-complementary
#B474ED #E9ED74 #74ED78
monochromatic
#781ACC #973EE6 #B474ED #D1AAF4 #EEE0FB

Accessibility & contrast

On white

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

On black

6.66
#B474ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B474ED
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B474ED#FFFFFF#000000##000000
##B474ED1.003.156.666.66
#FFFFFF3.151.0021.0021.00
#0000006.6621.001.001.00
##0000006.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#508FF1
Deuteranopia (green-blind)
#6392EA
Tritanopia (blue-blind)
#AB89A6
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #b474ed;
/* rgb */ color: rgb(180, 116, 237);
/* oklch */ color: oklch(67.6% 0.181 306.6);
Tailwind
colors: {
  custom: {
    50: '#cd9ef3',
    500: '#b474ed',
    950: '#000000',
  },
}
SCSS
$custom: #b474ed;
$custom-light: #cd9ef3;
$custom-dark: #000000;
JSON
{
  "hex": "#b474ed",
  "rgb": {
    "r": 180,
    "g": 116,
    "b": 237
  },
  "hsl": {
    "h": 271.736,
    "s": 77.07,
    "l": 69.216
  },
  "oklch": {
    "l": 0.67639,
    "c": 0.18072,
    "h": 306.6
  },
  "luminance": 0.28309
}

Semantic roles & 50–950 ramp

primary
#B474ED
secondary
#DDF0CD
accent
#D90C6D
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#140E17
muted
#827E85

Preview Lab

Preview with #B474ED

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

Preview Lab → · Contrast checker → · Palette generator →

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