#B474DB#B474DB

#B474DB is a light, vivid violet. Relative luminance 0.273; OKLCH L 66.7% C 0.160 H 311.4°. Best body text is #000000 at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#B474DB
RGBrgb(180, 116, 219)
HSLhsl(277, 59%, 66%)
HSVhsv(277, 47%, 86%)
CMYKcmyk(17.8%, 47%, 0%, 14.1%)
CIE-LABlab(59.26, 43.47, -43.09)
CIE-LCHlch(59.26, 61.20, 315.25°)
OKLaboklab(66.67% 0.1058 -0.12)
OKLCHoklch(66.67% 0.16 311.4)
XYZxyz(37.8517, 27.3093, 70.2813)
Luminance0.2731 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B474DB #9BDB74
analogous
#8074DB #B474DB #DB74CE
triadic
#B474DB #DBB474 #74DBB4
tetradic
#B474DB #DB8074 #9BDB74 #74CEDB
square
#B474DB #DB8074 #9BDB74 #74CEDB
split-complementary
#B474DB #CEDB74 #74DB80
monochromatic
#792CA9 #9A43CE #B474DB #CEA5E8 #E8D5F4

Accessibility & contrast

On white

3.25
#B474DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.46
#B474DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B474DB
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B474DB#FFFFFF#000000##000000
##B474DB1.003.256.466.46
#FFFFFF3.251.0021.0021.00
#0000006.4621.001.001.00
##0000006.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C8BDF
Deuteranopia (green-blind)
#6E90D8
Tritanopia (blue-blind)
#B0849D
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #b474db;
/* rgb */ color: rgb(180, 116, 219);
/* oklch */ color: oklch(66.7% 0.160 311.4);
Tailwind
colors: {
  custom: {
    50: '#cc9de6',
    500: '#b474db',
    950: '#000000',
  },
}
SCSS
$custom: #b474db;
$custom-light: #cc9de6;
$custom-dark: #000000;
JSON
{
  "hex": "#b474db",
  "rgb": {
    "r": 180,
    "g": 116,
    "b": 219
  },
  "hsl": {
    "h": 277.282,
    "s": 58.857,
    "l": 65.686
  },
  "oklch": {
    "l": 0.66669,
    "c": 0.16,
    "h": 311.4
  },
  "luminance": 0.27309
}

Semantic roles & 50–950 ramp

primary
#B474DB
secondary
#D1E7C4
accent
#C61F5E
background
#FCF9FE
surface
#F9F2FC
border
#D2CCD5
text
#140E16
muted
#827E84

Preview Lab

Preview with #B474DB

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

Preview Lab → · Contrast checker → · Palette generator →

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