#C242DB#C242DB

#C242DB is a light, highly saturated purple. Relative luminance 0.205; OKLCH L 62.0% C 0.238 H 320.6°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#C242DB
RGBrgb(194, 66, 219)
HSLhsl(290, 68%, 56%)
HSVhsv(290, 70%, 86%)
CMYKcmyk(11.4%, 69.9%, 0%, 14.1%)
CIE-LABlab(52.38, 70.29, -53.90)
CIE-LCHlch(52.38, 88.58, 322.52°)
OKLaboklab(62.02% 0.1836 -0.1508)
OKLCHoklch(62.02% 0.238 320.6)
XYZxyz(36.9810, 20.4821, 69.0096)
Luminance0.2048 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C242DB #5BDB42
analogous
#7542DB #C242DB #DB42A7
triadic
#C242DB #DBC242 #42DBC2
tetradic
#C242DB #DB7542 #5BDB42 #42A7DB
square
#C242DB #DB7542 #5BDB42 #42A7DB
split-complementary
#C242DB #A7DB42 #42DB75
monochromatic
#771A89 #A324BC #C242DB #D375E5 #E3A9EF

Accessibility & contrast

On white

4.12
#C242DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.10
#C242DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C242DB
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C242DB#FFFFFF#000000##000000
##C242DB1.004.125.105.10
#FFFFFF4.121.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0074DF
Deuteranopia (green-blind)
#5281D7
Tritanopia (blue-blind)
#C35E8A
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #c242db;
/* rgb */ color: rgb(194, 66, 219);
/* oklch */ color: oklch(62.0% 0.238 320.6);
Tailwind
colors: {
  custom: {
    50: '#d881e7',
    500: '#c242db',
    950: '#000000',
  },
}
SCSS
$custom: #c242db;
$custom-light: #d881e7;
$custom-dark: #000000;
JSON
{
  "hex": "#c242db",
  "rgb": {
    "r": 194,
    "g": 66,
    "b": 219
  },
  "hsl": {
    "h": 290.196,
    "s": 68,
    "l": 55.882
  },
  "oklch": {
    "l": 0.6202,
    "c": 0.23763,
    "h": 320.6
  },
  "luminance": 0.2048
}

Semantic roles & 50–950 ramp

primary
#C242DB
secondary
#A7DC9D
accent
#EB3D59
background
#FDF8FE
surface
#FBEFFC
border
#D4CAD5
text
#150B16
muted
#837C84

Preview Lab

Preview with #C242DB

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

Preview Lab → · Contrast checker → · Palette generator →

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