#B478CD#B478CD

#B478CD is a light, vivid purple. Relative luminance 0.275; OKLCH L 66.6% C 0.137 H 315.5°. Best body text is #000000 at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#B478CD
RGBrgb(180, 120, 205)
HSLhsl(282, 46%, 64%)
HSVhsv(282, 41%, 80%)
CMYKcmyk(12.2%, 41.5%, 0%, 19.6%)
CIE-LABlab(59.48, 38.29, -34.87)
CIE-LCHlch(59.48, 51.79, 317.68°)
OKLaboklab(66.62% 0.0979 -0.0963)
OKLCHoklch(66.62% 0.137 315.5)
XYZxyz(36.5566, 27.5449, 61.1367)
Luminance0.2754 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B478CD #91CD78
analogous
#8978CD #B478CD #CD78BB
triadic
#B478CD #CDB478 #78CDB4
tetradic
#B478CD #CD8978 #91CD78 #78BBCD
square
#B478CD #CD8978 #91CD78 #78BBCD
split-complementary
#B478CD #BBCD78 #78CD89
monochromatic
#783794 #9B4BBC #B478CD #CDA5DE #E6D1EE

Accessibility & contrast

On white

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

On black

6.51
#B478CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B478CD
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B478CD#FFFFFF#000000##000000
##B478CD1.003.236.516.51
#FFFFFF3.231.0021.0021.00
#0000006.5121.001.001.00
##0000006.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#698CD0
Deuteranopia (green-blind)
#7991CB
Tritanopia (blue-blind)
#B38499
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #b478cd;
/* rgb */ color: rgb(180, 120, 205);
/* oklch */ color: oklch(66.6% 0.137 315.5);
Tailwind
colors: {
  custom: {
    50: '#cca0dc',
    500: '#b478cd',
    950: '#000000',
  },
}
SCSS
$custom: #b478cd;
$custom-light: #cca0dc;
$custom-dark: #000000;
JSON
{
  "hex": "#b478cd",
  "rgb": {
    "r": 180,
    "g": 120,
    "b": 205
  },
  "hsl": {
    "h": 282.353,
    "s": 45.946,
    "l": 63.725
  },
  "oklch": {
    "l": 0.66619,
    "c": 0.13728,
    "h": 315.5
  },
  "luminance": 0.27544
}

Semantic roles & 50–950 ramp

primary
#B478CD
secondary
#CADFC1
accent
#B92C56
background
#FCF9FD
surface
#F9F2FB
border
#D2CCD4
text
#130F15
muted
#827E83

Preview Lab

Preview with #B478CD

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

Preview Lab → · Contrast checker → · Palette generator →

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