#C82ECF#C82ECF

#C82ECF is a mid, highly saturated purple. Relative luminance 0.187; OKLCH L 60.6% C 0.251 H 326.2°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#C82ECF
RGBrgb(200, 46, 207)
HSLhsl(297, 64%, 50%)
HSVhsv(297, 78%, 81%)
CMYKcmyk(3.4%, 77.8%, 0%, 18.8%)
CIE-LABlab(50.38, 75.83, -50.18)
CIE-LCHlch(50.38, 90.93, 326.50°)
OKLaboklab(60.56% 0.2083 -0.1397)
OKLCHoklch(60.56% 0.251 326.2)
XYZxyz(36.0582, 18.7409, 60.7375)
Luminance0.1874 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C82ECF #35CF2E
analogous
#772ECF #C82ECF #CF2E86
triadic
#C82ECF #CFC82E #2ECFC8
tetradic
#C82ECF #CF772E #35CF2E #2E86CF
square
#C82ECF #CF772E #35CF2E #2E86CF
split-complementary
#C82ECF #86CF2E #2ECF77
monochromatic
#67186B #98239D #C82ECF #D65FDB #E391E7

Accessibility & contrast

On white

4.42
#C82ECF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#C82ECF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C82ECF
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C82ECF#FFFFFF#000000##000000
##C82ECF1.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#006CD3
Deuteranopia (green-blind)
#567ECB
Tritanopia (blue-blind)
#CD4C7F
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #c82ecf;
/* rgb */ color: rgb(200, 46, 207);
/* oklch */ color: oklch(60.6% 0.251 326.2);
Tailwind
colors: {
  custom: {
    50: '#dd79de',
    500: '#c82ecf',
    950: '#000000',
  },
}
SCSS
$custom: #c82ecf;
$custom-light: #dd79de;
$custom-dark: #000000;
JSON
{
  "hex": "#c82ecf",
  "rgb": {
    "r": 200,
    "g": 46,
    "b": 207
  },
  "hsl": {
    "h": 297.391,
    "s": 63.636,
    "l": 49.608
  },
  "oklch": {
    "l": 0.60556,
    "c": 0.25076,
    "h": 326.2
  },
  "luminance": 0.18738
}

Semantic roles & 50–950 ramp

primary
#C82ECF
secondary
#8BD188
accent
#E74148
background
#FEF8FD
surface
#FCEFFB
border
#D5CAD4
text
#160A15
muted
#847C83

Preview Lab

Preview with #C82ECF

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

Preview Lab → · Contrast checker → · Palette generator →

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