#B474DE#B474DE

#B474DE is a light, vivid violet. Relative luminance 0.275; OKLCH L 66.8% C 0.163 H 310.5°. Best body text is #000000 at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#B474DE
RGBrgb(180, 116, 222)
HSLhsl(276, 62%, 66%)
HSVhsv(276, 48%, 87%)
CMYKcmyk(18.9%, 47.7%, 0%, 12.9%)
CIE-LABlab(59.41, 44.12, -44.54)
CIE-LCHlch(59.41, 62.70, 314.73°)
OKLaboklab(66.83% 0.1062 -0.1242)
OKLCHoklch(66.83% 0.163 310.5)
XYZxyz(38.2502, 27.4687, 72.3801)
Luminance0.2747 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B474DE #9EDE74
analogous
#7F74DE #B474DE #DE74D3
triadic
#B474DE #DEB474 #74DEB4
tetradic
#B474DE #DE7F74 #9EDE74 #74D3DE
square
#B474DE #DE7F74 #9EDE74 #74D3DE
split-complementary
#B474DE #D3DE74 #74DE7F
monochromatic
#7A29AE #9943D2 #B474DE #CFA5EA #E9D7F5

Accessibility & contrast

On white

3.23
#B474DE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.49
#B474DE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B474DE
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B474DE#FFFFFF#000000##000000
##B474DE1.003.236.496.49
#FFFFFF3.231.0021.0021.00
#0000006.4921.001.001.00
##0000006.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B8CE2
Deuteranopia (green-blind)
#6C90DB
Tritanopia (blue-blind)
#AF859F
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #b474de;
/* rgb */ color: rgb(180, 116, 222);
/* oklch */ color: oklch(66.8% 0.163 310.5);
Tailwind
colors: {
  custom: {
    50: '#cc9ee9',
    500: '#b474de',
    950: '#000000',
  },
}
SCSS
$custom: #b474de;
$custom-light: #cc9ee9;
$custom-dark: #000000;
JSON
{
  "hex": "#b474de",
  "rgb": {
    "r": 180,
    "g": 116,
    "b": 222
  },
  "hsl": {
    "h": 276.226,
    "s": 61.628,
    "l": 66.275
  },
  "oklch": {
    "l": 0.66826,
    "c": 0.16344,
    "h": 310.5
  },
  "luminance": 0.27468
}

Semantic roles & 50–950 ramp

primary
#B474DE
secondary
#D3E8C6
accent
#C91C61
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#140E16
muted
#827E84

Preview Lab

Preview with #B474DE

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

Preview Lab → · Contrast checker → · Palette generator →

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