#C262CC#C262CC

#C262CC is a light, vivid purple. Relative luminance 0.246; OKLCH L 64.9% C 0.180 H 323.7°. Best body text is #000000 at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#C262CC
RGBrgb(194, 98, 204)
HSLhsl(294, 51%, 59%)
HSVhsv(294, 52%, 80%)
CMYKcmyk(4.9%, 52%, 0%, 20%)
CIE-LABlab(56.65, 53.62, -38.60)
CIE-LCHlch(56.65, 66.07, 324.25°)
OKLaboklab(64.87% 0.1453 -0.1066)
OKLCHoklch(64.87% 0.18 323.7)
XYZxyz(37.5139, 24.5662, 59.8808)
Luminance0.2456 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C262CC #6CCC62
analogous
#8D62CC #C262CC #CC62A1
triadic
#C262CC #CCC262 #62CCC2
tetradic
#C262CC #CC8D62 #6CCC62 #62A1CC
square
#C262CC #CC8D62 #6CCC62 #62A1CC
split-complementary
#C262CC #A1CC62 #62CC8D
monochromatic
#7F2C88 #AA3BB6 #C262CC #D490DB #E6BEEA

Accessibility & contrast

On white

3.55
#C262CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.91
#C262CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C262CC
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C262CC#FFFFFF#000000##000000
##C262CC1.003.555.915.91
#FFFFFF3.551.0021.0021.00
#0000005.9121.001.001.00
##0000005.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5381CF
Deuteranopia (green-blind)
#718CC9
Tritanopia (blue-blind)
#C5708E
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #c262cc;
/* rgb */ color: rgb(194, 98, 204);
/* oklch */ color: oklch(64.9% 0.180 323.7);
Tailwind
colors: {
  custom: {
    50: '#d792dc',
    500: '#c262cc',
    950: '#000000',
  },
}
SCSS
$custom: #c262cc;
$custom-light: #d792dc;
$custom-dark: #000000;
JSON
{
  "hex": "#c262cc",
  "rgb": {
    "r": 194,
    "g": 98,
    "b": 204
  },
  "hsl": {
    "h": 294.34,
    "s": 50.962,
    "l": 59.216
  },
  "oklch": {
    "l": 0.64866,
    "c": 0.18019,
    "h": 323.7
  },
  "luminance": 0.24564
}

Semantic roles & 50–950 ramp

primary
#C262CC
secondary
#B4DAB0
accent
#DA4D5B
background
#FDF9FD
surface
#FBF2FB
border
#D4CCD4
text
#150D15
muted
#837E83

Preview Lab

Preview with #C262CC

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

Preview Lab → · Contrast checker → · Palette generator →

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