#C828DF#C828DF

#C828DF is a mid, highly saturated purple. Relative luminance 0.191; OKLCH L 61.2% C 0.267 H 322.1°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#C828DF
RGBrgb(200, 40, 223)
HSLhsl(292, 74%, 52%)
HSVhsv(292, 82%, 87%)
CMYKcmyk(10.3%, 82.1%, 0%, 12.5%)
CIE-LABlab(50.84, 79.92, -58.60)
CIE-LCHlch(50.84, 99.10, 323.75°)
OKLaboklab(61.18% 0.2108 -0.1642)
OKLCHoklch(61.18% 0.267 322.1)
XYZxyz(37.8961, 19.1269, 71.4935)
Luminance0.1913 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C828DF #3FDF28
analogous
#6D28DF #C828DF #DF289B
triadic
#C828DF #DFC828 #28DFC8
tetradic
#C828DF #DF6D28 #3FDF28 #289BDF
square
#C828DF #DF6D28 #3FDF28 #289BDF
split-complementary
#C828DF #9BDF28 #28DF6D
monochromatic
#6D127A #9D1AB0 #C828DF #D65DE7 #E393EF

Accessibility & contrast

On white

4.35
#C828DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#C828DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C828DF
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C828DF#FFFFFF#000000##000000
##C828DF1.004.354.834.83
#FFFFFF4.351.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#006EE4
Deuteranopia (green-blind)
#477FDB
Tritanopia (blue-blind)
#CA5287
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #c828df;
/* rgb */ color: rgb(200, 40, 223);
/* oklch */ color: oklch(61.2% 0.267 322.1);
Tailwind
colors: {
  custom: {
    50: '#de78ea',
    500: '#c828df',
    950: '#000000',
  },
}
SCSS
$custom: #c828df;
$custom-light: #de78ea;
$custom-dark: #000000;
JSON
{
  "hex": "#c828df",
  "rgb": {
    "r": 200,
    "g": 40,
    "b": 223
  },
  "hsl": {
    "h": 292.459,
    "s": 74.089,
    "l": 51.569
  },
  "oklch": {
    "l": 0.61184,
    "c": 0.26724,
    "h": 322.1
  },
  "luminance": 0.19125
}

Semantic roles & 50–950 ramp

primary
#C828DF
secondary
#93DA89
accent
#F1374E
background
#FEF7FE
surface
#FCEEFD
border
#D5C9D5
text
#160A16
muted
#847C84

Preview Lab

Preview with #C828DF

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

Preview Lab → · Contrast checker → · Palette generator →

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