#B474DF#B474DF

#B474DF is a light, vivid violet. Relative luminance 0.275; OKLCH L 66.9% C 0.165 H 310.3°. Best body text is #000000 at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#B474DF
RGBrgb(180, 116, 223)
HSLhsl(276, 63%, 66%)
HSVhsv(276, 48%, 87%)
CMYKcmyk(19.3%, 48%, 0%, 12.5%)
CIE-LABlab(59.45, 44.34, -45.02)
CIE-LCHlch(59.45, 63.19, 314.57°)
OKLaboklab(66.88% 0.1064 -0.1256)
OKLCHoklch(66.88% 0.165 310.3)
XYZxyz(38.3846, 27.5224, 73.0880)
Luminance0.2752 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B474DF #9FDF74
analogous
#7F74DF #B474DF #DF74D5
triadic
#B474DF #DFB474 #74DFB4
tetradic
#B474DF #DF7F74 #9FDF74 #74D5DF
square
#B474DF #DF7F74 #9FDF74 #74D5DF
split-complementary
#B474DF #D5DF74 #74DF7F
monochromatic
#7A29B0 #9942D4 #B474DF #CFA6EA #EAD7F6

Accessibility & contrast

On white

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

On black

6.50
#B474DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B474DF
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B474DF#FFFFFF#000000##000000
##B474DF1.003.236.506.50
#FFFFFF3.231.0021.0021.00
#0000006.5021.001.001.00
##0000006.5021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b474df;
/* rgb */ color: rgb(180, 116, 223);
/* oklch */ color: oklch(66.9% 0.165 310.3);
Tailwind
colors: {
  custom: {
    50: '#cc9ee9',
    500: '#b474df',
    950: '#000000',
  },
}
SCSS
$custom: #b474df;
$custom-light: #cc9ee9;
$custom-dark: #000000;
JSON
{
  "hex": "#b474df",
  "rgb": {
    "r": 180,
    "g": 116,
    "b": 223
  },
  "hsl": {
    "h": 275.888,
    "s": 62.573,
    "l": 66.471
  },
  "oklch": {
    "l": 0.66878,
    "c": 0.16458,
    "h": 310.3
  },
  "luminance": 0.27522
}

Semantic roles & 50–950 ramp

primary
#B474DF
secondary
#D4E9C6
accent
#CA1B62
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#140E16
muted
#827E84

Preview Lab

Preview with #B474DF

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

Preview Lab → · Contrast checker → · Palette generator →

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