#B478CF#B478CF

#B478CF is a light, vivid purple. Relative luminance 0.276; OKLCH L 66.7% C 0.140 H 314.7°. Best body text is #000000 at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#B478CF
RGBrgb(180, 120, 207)
HSLhsl(281, 48%, 64%)
HSVhsv(281, 42%, 81%)
CMYKcmyk(13%, 42%, 0%, 18.8%)
CIE-LABlab(59.56, 38.72, -35.86)
CIE-LCHlch(59.56, 52.77, 317.19°)
OKLaboklab(66.72% 0.0982 -0.0991)
OKLCHoklch(66.72% 0.14 314.7)
XYZxyz(36.7996, 27.6421, 62.4163)
Luminance0.2764 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B478CF #93CF78
analogous
#8978CF #B478CF #CF78BF
triadic
#B478CF #CFB478 #78CFB4
tetradic
#B478CF #CF8978 #93CF78 #78BFCF
square
#B478CF #CF8978 #93CF78 #78BFCF
split-complementary
#B478CF #BFCF78 #78CF89
monochromatic
#793697 #9B4BBF #B478CF #CDA5DF #E6D2EF

Accessibility & contrast

On white

3.22
#B478CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.53
#B478CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B478CF
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B478CF#FFFFFF#000000##000000
##B478CF1.003.226.536.53
#FFFFFF3.221.0021.0021.00
#0000006.5321.001.001.00
##0000006.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#688CD2
Deuteranopia (green-blind)
#7891CD
Tritanopia (blue-blind)
#B2849A
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #b478cf;
/* rgb */ color: rgb(180, 120, 207);
/* oklch */ color: oklch(66.7% 0.140 314.7);
Tailwind
colors: {
  custom: {
    50: '#cca0de',
    500: '#b478cf',
    950: '#000000',
  },
}
SCSS
$custom: #b478cf;
$custom-light: #cca0de;
$custom-dark: #000000;
JSON
{
  "hex": "#b478cf",
  "rgb": {
    "r": 180,
    "g": 120,
    "b": 207
  },
  "hsl": {
    "h": 281.379,
    "s": 47.541,
    "l": 64.118
  },
  "oklch": {
    "l": 0.66715,
    "c": 0.13956,
    "h": 314.7
  },
  "luminance": 0.27641
}

Semantic roles & 50–950 ramp

primary
#B478CF
secondary
#CCE1C2
accent
#BB2B57
background
#FCF9FD
surface
#F9F2FB
border
#D2CCD4
text
#130F15
muted
#827E83

Preview Lab

Preview with #B478CF

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

Preview Lab → · Contrast checker → · Palette generator →

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