#C04BCF#C04BCF

#C04BCF is a mid, highly saturated purple. Relative luminance 0.207; OKLCH L 62.0% C 0.215 H 323.0°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#C04BCF
RGBrgb(192, 75, 207)
HSLhsl(293, 58%, 55%)
HSVhsv(293, 64%, 81%)
CMYKcmyk(7.2%, 63.8%, 0%, 18.8%)
CIE-LABlab(52.67, 64.14, -46.62)
CIE-LCHlch(52.67, 79.29, 323.99°)
OKLaboklab(61.95% 0.172 -0.1297)
OKLCHoklch(61.95% 0.215 323)
XYZxyz(35.5157, 20.7456, 61.1530)
Luminance0.2074 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C04BCF #5ACF4B
analogous
#7E4BCF #C04BCF #CF4B9C
triadic
#C04BCF #CFC04B #4BCFC0
tetradic
#C04BCF #CF7E4B #5ACF4B #4B9CCF
square
#C04BCF #CF7E4B #5ACF4B #4B9CCF
split-complementary
#C04BCF #9CCF4B #4BCF7E
monochromatic
#74227E #A02EAE #C04BCF #D17BDC #E2ACE9

Accessibility & contrast

On white

4.08
#C04BCF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#C04BCF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C04BCF
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C04BCF#FFFFFF#000000##000000
##C04BCF1.004.085.155.15
#FFFFFF4.081.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#2D75D3
Deuteranopia (green-blind)
#5E82CC
Tritanopia (blue-blind)
#C36087
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #c04bcf;
/* rgb */ color: rgb(192, 75, 207);
/* oklch */ color: oklch(62.0% 0.215 323.0);
Tailwind
colors: {
  custom: {
    50: '#d685de',
    500: '#c04bcf',
    950: '#000000',
  },
}
SCSS
$custom: #c04bcf;
$custom-light: #d685de;
$custom-dark: #000000;
JSON
{
  "hex": "#c04bcf",
  "rgb": {
    "r": 192,
    "g": 75,
    "b": 207
  },
  "hsl": {
    "h": 293.182,
    "s": 57.895,
    "l": 55.294
  },
  "oklch": {
    "l": 0.61954,
    "c": 0.21541,
    "h": 323
  },
  "luminance": 0.20744
}

Semantic roles & 50–950 ramp

primary
#C04BCF
secondary
#A6D69F
accent
#E14758
background
#FDF8FD
surface
#FBF0FB
border
#D4CBD4
text
#150C15
muted
#837D83

Preview Lab

Preview with #C04BCF

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

Preview Lab → · Contrast checker → · Palette generator →

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