#C04BC5#C04BC5

#C04BC5 is a mid, highly saturated purple. Relative luminance 0.203; OKLCH L 61.4% C 0.207 H 326.1°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#C04BC5
RGBrgb(192, 75, 197)
HSLhsl(298, 51%, 53%)
HSVhsv(298, 62%, 77%)
CMYKcmyk(2.5%, 61.9%, 0%, 22.7%)
CIE-LABlab(52.14, 62.37, -41.71)
CIE-LCHlch(52.14, 75.03, 326.22°)
OKLaboklab(61.4% 0.1716 -0.1154)
OKLCHoklch(61.4% 0.207 326.1)
XYZxyz(34.3317, 20.2719, 54.9171)
Luminance0.2027 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C04BC5 #50C54B
analogous
#834BC5 #C04BC5 #C54B8D
triadic
#C04BC5 #C5C04B #4BC5C0
tetradic
#C04BC5 #C5834B #50C54B #4B8DC5
square
#C04BC5 #C5834B #50C54B #4B8DC5
split-complementary
#C04BC5 #8DC54B #4BC583
monochromatic
#6E2471 #9B339F #C04BC5 #D079D4 #E0A8E3

Accessibility & contrast

On white

4.16
#C04BC5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#C04BC5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C04BC5
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C04BC5#FFFFFF#000000##000000
##C04BC51.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3873C9
Deuteranopia (green-blind)
#6482C2
Tritanopia (blue-blind)
#C55C81
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #c04bc5;
/* rgb */ color: rgb(192, 75, 197);
/* oklch */ color: oklch(61.4% 0.207 326.1);
Tailwind
colors: {
  custom: {
    50: '#d685d7',
    500: '#c04bc5',
    950: '#000000',
  },
}
SCSS
$custom: #c04bc5;
$custom-light: #d685d7;
$custom-dark: #000000;
JSON
{
  "hex": "#c04bc5",
  "rgb": {
    "r": 192,
    "g": 75,
    "b": 197
  },
  "hsl": {
    "h": 297.541,
    "s": 51.261,
    "l": 53.333
  },
  "oklch": {
    "l": 0.61402,
    "c": 0.20683,
    "h": 326.1
  },
  "luminance": 0.2027
}

Semantic roles & 50–950 ramp

primary
#C04BC5
secondary
#9ED09C
accent
#DB4D53
background
#FDF8FD
surface
#FBF0FA
border
#D4CBD3
text
#150C14
muted
#837D83

Preview Lab

Preview with #C04BC5

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

Preview Lab → · Contrast checker → · Palette generator →

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