#C242CB#C242CB

#C242CB is a mid, highly saturated purple. Relative luminance 0.197; OKLCH L 61.1% C 0.224 H 325.1°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#C242CB
RGBrgb(194, 66, 203)
HSLhsl(296, 57%, 53%)
HSVhsv(296, 67%, 80%)
CMYKcmyk(4.4%, 67.5%, 0%, 20.4%)
CIE-LABlab(51.47, 67.46, -46.21)
CIE-LCHlch(51.47, 81.77, 325.59°)
OKLaboklab(61.08% 0.184 -0.1284)
OKLCHoklch(61.08% 0.224 325.1)
XYZxyz(34.9750, 19.6797, 58.4447)
Luminance0.1968 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C242CB #4BCB42
analogous
#7D42CB #C242CB #CB4290
triadic
#C242CB #CBC242 #42CBC2
tetradic
#C242CB #CB7D42 #4BCB42 #4290CB
square
#C242CB #CB7D42 #4BCB42 #4290CB
split-complementary
#C242CB #90CB42 #42CB7D
monochromatic
#6D2073 #9B2DA3 #C242CB #D172D8 #E1A2E5

Accessibility & contrast

On white

4.25
#C242CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#C242CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C242CB
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C242CB#FFFFFF#000000##000000
##C242CB1.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#2371CF
Deuteranopia (green-blind)
#5D80C8
Tritanopia (blue-blind)
#C65882
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #c242cb;
/* rgb */ color: rgb(194, 66, 203);
/* oklch */ color: oklch(61.1% 0.224 325.1);
Tailwind
colors: {
  custom: {
    50: '#d881db',
    500: '#c242cb',
    950: '#000000',
  },
}
SCSS
$custom: #c242cb;
$custom-light: #d881db;
$custom-dark: #000000;
JSON
{
  "hex": "#c242cb",
  "rgb": {
    "r": 194,
    "g": 66,
    "b": 203
  },
  "hsl": {
    "h": 296.058,
    "s": 56.846,
    "l": 52.745
  },
  "oklch": {
    "l": 0.6108,
    "c": 0.22436,
    "h": 325.1
  },
  "luminance": 0.19678
}

Semantic roles & 50–950 ramp

primary
#C242CB
secondary
#9BD297
accent
#E04852
background
#FDF8FD
surface
#FBEFFB
border
#D4CAD4
text
#150B15
muted
#837C83

Preview Lab

Preview with #C242CB

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

Preview Lab → · Contrast checker → · Palette generator →

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