#C04BD8#C04BD8

#C04BD8 is a light, highly saturated purple. Relative luminance 0.212; OKLCH L 62.5% C 0.223 H 320.4°. Best body text is #000000 at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#C04BD8
RGBrgb(192, 75, 216)
HSLhsl(290, 64%, 57%)
HSVhsv(290, 65%, 85%)
CMYKcmyk(11.1%, 65.3%, 0%, 15.3%)
CIE-LABlab(53.17, 65.79, -50.96)
CIE-LCHlch(53.17, 83.22, 322.24°)
OKLaboklab(62.47% 0.172 -0.1423)
OKLCHoklch(62.47% 0.223 320.4)
XYZxyz(36.6475, 21.1983, 67.1137)
Luminance0.2120 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C04BD8 #63D84B
analogous
#794BD8 #C04BD8 #D84BAA
triadic
#C04BD8 #D8C04B #4BD8C0
tetradic
#C04BD8 #D8794B #63D84B #4BAAD8
square
#C04BD8 #D8794B #63D84B #4BAAD8
split-complementary
#C04BD8 #AAD84B #4BD879
monochromatic
#781E8B #A429BD #C04BD8 #D27DE3 #E3B0EE

Accessibility & contrast

On white

4.01
#C04BD8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.24
#C04BD8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C04BD8
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C04BD8#FFFFFF#000000##000000
##C04BD81.004.015.245.24
#FFFFFF4.011.0021.0021.00
#0000005.2421.001.001.00
##0000005.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#1F77DC
Deuteranopia (green-blind)
#5883D5
Tritanopia (blue-blind)
#C1638B
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #c04bd8;
/* rgb */ color: rgb(192, 75, 216);
/* oklch */ color: oklch(62.5% 0.223 320.4);
Tailwind
colors: {
  custom: {
    50: '#d785e5',
    500: '#c04bd8',
    950: '#000000',
  },
}
SCSS
$custom: #c04bd8;
$custom-light: #d785e5;
$custom-dark: #000000;
JSON
{
  "hex": "#c04bd8",
  "rgb": {
    "r": 192,
    "g": 75,
    "b": 216
  },
  "hsl": {
    "h": 289.787,
    "s": 64.384,
    "l": 57.059
  },
  "oklch": {
    "l": 0.62471,
    "c": 0.22328,
    "h": 320.4
  },
  "luminance": 0.21196
}

Semantic roles & 50–950 ramp

primary
#C04BD8
secondary
#ACDCA3
accent
#E7405D
background
#FDF8FE
surface
#FBF0FC
border
#D4CBD5
text
#150C16
muted
#837D84

Preview Lab

Preview with #C04BD8

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

Preview Lab → · Contrast checker → · Palette generator →

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