#B474D5#B474D5

#B474D5 is a light, vivid violet. Relative luminance 0.270; OKLCH L 66.4% C 0.153 H 313.3°. Best body text is #000000 at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#B474D5
RGBrgb(180, 116, 213)
HSLhsl(280, 54%, 65%)
HSVhsv(280, 46%, 84%)
CMYKcmyk(15.5%, 45.5%, 0%, 16.5%)
CIE-LABlab(58.97, 42.17, -40.16)
CIE-LCHlch(58.97, 58.24, 316.40°)
OKLaboklab(66.36% 0.105 -0.1115)
OKLCHoklch(66.36% 0.153 313.3)
XYZxyz(37.0760, 26.9990, 66.1961)
Luminance0.2700 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B474D5 #95D574
analogous
#8474D5 #B474D5 #D574C5
triadic
#B474D5 #D5B474 #74D5B4
tetradic
#B474D5 #D58474 #95D574 #74C5D5
square
#B474D5 #D58474 #95D574 #74C5D5
split-complementary
#B474D5 #C5D574 #74D584
monochromatic
#79309F #9B45C7 #B474D5 #CDA3E3 #E7D2F1

Accessibility & contrast

On white

3.28
#B474D5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.40
#B474D5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B474D5
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B474D5#FFFFFF#000000##000000
##B474D51.003.286.406.40
#FFFFFF3.281.0021.0021.00
#0000006.4021.001.001.00
##0000006.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#608AD8
Deuteranopia (green-blind)
#7190D2
Tritanopia (blue-blind)
#B1829A
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #b474d5;
/* rgb */ color: rgb(180, 116, 213);
/* oklch */ color: oklch(66.4% 0.153 313.3);
Tailwind
colors: {
  custom: {
    50: '#cc9de2',
    500: '#b474d5',
    950: '#000000',
  },
}
SCSS
$custom: #b474d5;
$custom-light: #cc9de2;
$custom-dark: #000000;
JSON
{
  "hex": "#b474d5",
  "rgb": {
    "r": 180,
    "g": 116,
    "b": 213
  },
  "hsl": {
    "h": 279.588,
    "s": 53.591,
    "l": 64.51
  },
  "oklch": {
    "l": 0.66362,
    "c": 0.15316,
    "h": 313.3
  },
  "luminance": 0.26998
}

Semantic roles & 50–950 ramp

primary
#B474D5
secondary
#CDE3C2
accent
#C1245A
background
#FCF9FD
surface
#F9F2FB
border
#D2CCD4
text
#140E15
muted
#827E83

Preview Lab

Preview with #B474D5

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

Preview Lab → · Contrast checker → · Palette generator →

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