#C028C5#C028C5

#C028C5 is a mid, highly saturated purple. Relative luminance 0.168; OKLCH L 58.4% C 0.245 H 326.7°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#C028C5
RGBrgb(192, 40, 197)
HSLhsl(298, 66%, 46%)
HSVhsv(298, 80%, 77%)
CMYKcmyk(2.5%, 79.7%, 0%, 22.7%)
CIE-LABlab(47.95, 74.24, -48.37)
CIE-LCHlch(47.95, 88.61, 326.92°)
OKLaboklab(58.4% 0.2048 -0.1346)
OKLCHoklch(58.4% 0.245 326.7)
XYZxyz(32.5745, 16.7576, 54.3313)
Luminance0.1676 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C028C5 #2DC528
analogous
#7228C5 #C028C5 #C5287C
triadic
#C028C5 #C5C028 #28C5C0
tetradic
#C028C5 #C57228 #2DC528 #287CC5
square
#C028C5 #C57228 #2DC528 #287CC5
split-complementary
#C028C5 #7CC528 #28C572
monochromatic
#5D135F #8E1E92 #C028C5 #D74FDB #E282E6

Accessibility & contrast

On white

4.83
#C028C5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#C028C5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C028C5
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C028C5#FFFFFF#000000##FFFFFF
##C028C51.004.834.354.83
#FFFFFF4.831.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066C9
Deuteranopia (green-blind)
#5278C1
Tritanopia (blue-blind)
#C54678
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #c028c5;
/* rgb */ color: rgb(192, 40, 197);
/* oklch */ color: oklch(58.4% 0.245 326.7);
Tailwind
colors: {
  custom: {
    50: '#d776d7',
    500: '#c028c5',
    950: '#000000',
  },
}
SCSS
$custom: #c028c5;
$custom-light: #d776d7;
$custom-dark: #000000;
JSON
{
  "hex": "#c028c5",
  "rgb": {
    "r": 192,
    "g": 40,
    "b": 197
  },
  "hsl": {
    "h": 298.089,
    "s": 66.245,
    "l": 46.471
  },
  "oklch": {
    "l": 0.58396,
    "c": 0.24507,
    "h": 326.7
  },
  "luminance": 0.16755
}

Semantic roles & 50–950 ramp

primary
#C028C5
secondary
#7DCE7A
accent
#E93F44
background
#FDF7FD
surface
#FBEEFA
border
#D4C9D3
text
#150A14
muted
#837C83

Preview Lab

Preview with #C028C5

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

Preview Lab → · Contrast checker → · Palette generator →

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