#C04BCD#C04BCD

#C04BCD is a mid, highly saturated purple. Relative luminance 0.206; OKLCH L 61.8% C 0.214 H 323.6°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#C04BCD
RGBrgb(192, 75, 205)
HSLhsl(294, 57%, 55%)
HSVhsv(294, 63%, 80%)
CMYKcmyk(6.3%, 63.4%, 0%, 19.6%)
CIE-LABlab(52.56, 63.78, -45.64)
CIE-LCHlch(52.56, 78.43, 324.41°)
OKLaboklab(61.84% 0.172 -0.1269)
OKLCHoklch(61.84% 0.214 323.6)
XYZxyz(35.2727, 20.6484, 59.8734)
Luminance0.2065 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C04BCD #58CD4B
analogous
#7F4BCD #C04BCD #CD4B99
triadic
#C04BCD #CDC04B #4BCDC0
tetradic
#C04BCD #CD7F4B #58CD4B #4B99CD
square
#C04BCD #CD7F4B #58CD4B #4B99CD
split-complementary
#C04BCD #99CD4B #4BCD7F
monochromatic
#72227B #9F30AB #C04BCD #D17BDA #E2ABE8

Accessibility & contrast

On white

4.09
#C04BCD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.13
#C04BCD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C04BCD
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C04BCD#FFFFFF#000000##000000
##C04BCD1.004.095.135.13
#FFFFFF4.091.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3074D1
Deuteranopia (green-blind)
#5F82CA
Tritanopia (blue-blind)
#C35F86
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #c04bcd;
/* rgb */ color: rgb(192, 75, 205);
/* oklch */ color: oklch(61.8% 0.214 323.6);
Tailwind
colors: {
  custom: {
    50: '#d685dd',
    500: '#c04bcd',
    950: '#000000',
  },
}
SCSS
$custom: #c04bcd;
$custom-light: #d685dd;
$custom-dark: #000000;
JSON
{
  "hex": "#c04bcd",
  "rgb": {
    "r": 192,
    "g": 75,
    "b": 205
  },
  "hsl": {
    "h": 294,
    "s": 56.522,
    "l": 54.902
  },
  "oklch": {
    "l": 0.61841,
    "c": 0.21368,
    "h": 323.6
  },
  "luminance": 0.20646
}

Semantic roles & 50–950 ramp

primary
#C04BCD
secondary
#A4D59F
accent
#E04857
background
#FDF8FD
surface
#FBF0FB
border
#D4CBD4
text
#150C15
muted
#837D83

Preview Lab

Preview with #C04BCD

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

Preview Lab → · Contrast checker → · Palette generator →

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