#C262DC#C262DC

#C262DC is a light, vivid purple. Relative luminance 0.254; OKLCH L 65.7% C 0.196 H 318.7°. Best body text is #000000 at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#C262DC
RGBrgb(194, 98, 220)
HSLhsl(287, 64%, 62%)
HSVhsv(287, 55%, 86%)
CMYKcmyk(11.8%, 55.5%, 0%, 13.7%)
CIE-LABlab(57.44, 56.69, -46.42)
CIE-LCHlch(57.44, 73.27, 320.69°)
OKLaboklab(65.7% 0.1469 -0.1292)
OKLCHoklch(65.7% 0.196 318.7)
XYZxyz(39.5324, 25.3736, 70.5115)
Luminance0.2537 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C262DC #7CDC62
analogous
#8562DC #C262DC #DC62B9
triadic
#C262DC #DCC262 #62DCC2
tetradic
#C262DC #DC8562 #7CDC62 #62B9DC
square
#C262DC #DC8562 #7CDC62 #62B9DC
split-complementary
#C262DC #B9DC62 #62DC85
monochromatic
#8524A0 #AF30D1 #C262DC #D594E7 #E9C6F2

Accessibility & contrast

On white

3.46
#C262DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.07
#C262DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C262DC
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C262DC#FFFFFF#000000##000000
##C262DC1.003.466.076.07
#FFFFFF3.461.0021.0021.00
#0000006.0721.001.001.00
##0000006.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4883E0
Deuteranopia (green-blind)
#698DD9
Tritanopia (blue-blind)
#C27596
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #c262dc;
/* rgb */ color: rgb(194, 98, 220);
/* oklch */ color: oklch(65.7% 0.196 318.7);
Tailwind
colors: {
  custom: {
    50: '#d793e7',
    500: '#c262dc',
    950: '#000000',
  },
}
SCSS
$custom: #c262dc;
$custom-light: #d793e7;
$custom-dark: #000000;
JSON
{
  "hex": "#c262dc",
  "rgb": {
    "r": 194,
    "g": 98,
    "b": 220
  },
  "hsl": {
    "h": 287.213,
    "s": 63.542,
    "l": 62.353
  },
  "oklch": {
    "l": 0.65701,
    "c": 0.19562,
    "h": 318.7
  },
  "luminance": 0.25372
}

Semantic roles & 50–950 ramp

primary
#C262DC
secondary
#C0E3B7
accent
#CB1A40
background
#FDF9FE
surface
#FBF2FC
border
#D4CCD5
text
#150D16
muted
#837E84

Preview Lab

Preview with #C262DC

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

Preview Lab → · Contrast checker → · Palette generator →

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