#C04BCB#C04BCB

#C04BCB is a mid, highly saturated purple. Relative luminance 0.205; OKLCH L 61.7% C 0.212 H 324.2°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#C04BCB
RGBrgb(192, 75, 203)
HSLhsl(295, 55%, 55%)
HSVhsv(295, 63%, 80%)
CMYKcmyk(5.4%, 63.1%, 0%, 20.4%)
CIE-LABlab(52.46, 63.43, -44.66)
CIE-LCHlch(52.46, 77.57, 324.85°)
OKLaboklab(61.73% 0.1719 -0.124)
OKLCHoklch(61.73% 0.212 324.2)
XYZxyz(35.0329, 20.5524, 58.6101)
Luminance0.2055 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C04BCB #56CB4B
analogous
#804BCB #C04BCB #CB4B96
triadic
#C04BCB #CBC04B #4BCBC0
tetradic
#C04BCB #CB804B #56CB4B #4B96CB
square
#C04BCB #CB804B #56CB4B #4B96CB
split-complementary
#C04BCB #96CB4B #4BCB80
monochromatic
#712379 #9E31A8 #C04BCB #D17AD9 #E1AAE6

Accessibility & contrast

On white

4.11
#C04BCB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.11
#C04BCB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C04BCB
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C04BCB#FFFFFF#000000##000000
##C04BCB1.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3274CF
Deuteranopia (green-blind)
#6082C8
Tritanopia (blue-blind)
#C45E84
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #c04bcb;
/* rgb */ color: rgb(192, 75, 203);
/* oklch */ color: oklch(61.7% 0.212 324.2);
Tailwind
colors: {
  custom: {
    50: '#d685db',
    500: '#c04bcb',
    950: '#000000',
  },
}
SCSS
$custom: #c04bcb;
$custom-light: #d685db;
$custom-dark: #000000;
JSON
{
  "hex": "#c04bcb",
  "rgb": {
    "r": 192,
    "g": 75,
    "b": 203
  },
  "hsl": {
    "h": 294.844,
    "s": 55.172,
    "l": 54.51
  },
  "oklch": {
    "l": 0.6173,
    "c": 0.21195,
    "h": 324.2
  },
  "luminance": 0.2055
}

Semantic roles & 50–950 ramp

primary
#C04BCB
secondary
#A2D49E
accent
#DF4956
background
#FDF8FD
surface
#FBF0FB
border
#D4CBD4
text
#150C15
muted
#837D83

Preview Lab

Preview with #C04BCB

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

Preview Lab → · Contrast checker → · Palette generator →

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