#B474DD#B474DD

#B474DD is a light, vivid violet. Relative luminance 0.274; OKLCH L 66.8% C 0.162 H 310.8°. Best body text is #000000 at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#B474DD
RGBrgb(180, 116, 221)
HSLhsl(277, 61%, 66%)
HSVhsv(277, 48%, 87%)
CMYKcmyk(18.6%, 47.5%, 0%, 13.3%)
CIE-LABlab(59.36, 43.91, -44.06)
CIE-LCHlch(59.36, 62.20, 314.90°)
OKLaboklab(66.77% 0.1061 -0.1228)
OKLCHoklch(66.77% 0.162 310.8)
XYZxyz(38.1166, 27.4152, 71.6763)
Luminance0.2742 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B474DD #9DDD74
analogous
#7F74DD #B474DD #DD74D2
triadic
#B474DD #DDB474 #74DDB4
tetradic
#B474DD #DD7F74 #9DDD74 #74D2DD
square
#B474DD #DD7F74 #9DDD74 #74D2DD
split-complementary
#B474DD #D2DD74 #74DD7F
monochromatic
#7A2AAC #9943D1 #B474DD #CFA5E9 #E9D6F5

Accessibility & contrast

On white

3.24
#B474DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.48
#B474DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B474DD
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B474DD#FFFFFF#000000##000000
##B474DD1.003.246.486.48
#FFFFFF3.241.0021.0021.00
#0000006.4821.001.001.00
##0000006.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B8CE1
Deuteranopia (green-blind)
#6D90DA
Tritanopia (blue-blind)
#AF859E
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #b474dd;
/* rgb */ color: rgb(180, 116, 221);
/* oklch */ color: oklch(66.8% 0.162 310.8);
Tailwind
colors: {
  custom: {
    50: '#cc9ee8',
    500: '#b474dd',
    950: '#000000',
  },
}
SCSS
$custom: #b474dd;
$custom-light: #cc9ee8;
$custom-dark: #000000;
JSON
{
  "hex": "#b474dd",
  "rgb": {
    "r": 180,
    "g": 116,
    "b": 221
  },
  "hsl": {
    "h": 276.571,
    "s": 60.694,
    "l": 66.078
  },
  "oklch": {
    "l": 0.66773,
    "c": 0.16229,
    "h": 310.8
  },
  "luminance": 0.27415
}

Semantic roles & 50–950 ramp

primary
#B474DD
secondary
#D3E8C5
accent
#C81D60
background
#FCF9FE
surface
#F9F2FC
border
#D2CCD5
text
#140E16
muted
#827E84

Preview Lab

Preview with #B474DD

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

Preview Lab → · Contrast checker → · Palette generator →

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