#C045DF#C045DF

#C045DF is a light, highly saturated purple. Relative luminance 0.208; OKLCH L 62.3% C 0.237 H 318.8°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#C045DF
RGBrgb(192, 69, 223)
HSLhsl(288, 71%, 57%)
HSVhsv(288, 69%, 87%)
CMYKcmyk(13.9%, 69.1%, 0%, 12.5%)
CIE-LABlab(52.72, 69.47, -55.64)
CIE-LCHlch(52.72, 89.01, 321.31°)
OKLaboklab(62.28% 0.1781 -0.156)
OKLCHoklch(62.28% 0.237 318.8)
XYZxyz(37.1839, 20.7921, 71.8524)
Luminance0.2079 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C045DF #64DF45
analogous
#7345DF #C045DF #DF45B1
triadic
#C045DF #DFC045 #45DFC0
tetradic
#C045DF #DF7345 #64DF45 #45B1DF
square
#C045DF #DF7345 #64DF45 #45B1DF
split-complementary
#C045DF #B1DF45 #45DF73
monochromatic
#791991 #A422C5 #C045DF #D279E8 #E3ADF1

Accessibility & contrast

On white

4.07
#C045DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#C045DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C045DF
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C045DF#FFFFFF#000000##000000
##C045DF1.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0076E3
Deuteranopia (green-blind)
#4E82DB
Tritanopia (blue-blind)
#C0628D
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #c045df;
/* rgb */ color: rgb(192, 69, 223);
/* oklch */ color: oklch(62.3% 0.237 318.8);
Tailwind
colors: {
  custom: {
    50: '#d783ea',
    500: '#c045df',
    950: '#000000',
  },
}
SCSS
$custom: #c045df;
$custom-light: #d783ea;
$custom-dark: #000000;
JSON
{
  "hex": "#c045df",
  "rgb": {
    "r": 192,
    "g": 69,
    "b": 223
  },
  "hsl": {
    "h": 287.922,
    "s": 70.642,
    "l": 57.255
  },
  "oklch": {
    "l": 0.62282,
    "c": 0.23675,
    "h": 318.8
  },
  "luminance": 0.2079
}

Semantic roles & 50–950 ramp

primary
#C045DF
secondary
#ADDFA1
accent
#ED3A5E
background
#FDF8FE
surface
#FBF0FD
border
#D4CBD5
text
#150B16
muted
#837C84

Preview Lab

Preview with #C045DF

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

Preview Lab → · Contrast checker → · Palette generator →

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