#C262DA#C262DA

#C262DA is a light, vivid purple. Relative luminance 0.253; OKLCH L 65.6% C 0.194 H 319.3°. Best body text is #000000 at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#C262DA
RGBrgb(194, 98, 218)
HSLhsl(288, 62%, 62%)
HSVhsv(288, 55%, 85%)
CMYKcmyk(11%, 55%, 0%, 14.5%)
CIE-LABlab(57.34, 56.30, -45.45)
CIE-LCHlch(57.34, 72.35, 321.08°)
OKLaboklab(65.59% 0.1467 -0.1264)
OKLCHoklch(65.59% 0.194 319.3)
XYZxyz(39.2691, 25.2683, 69.1248)
Luminance0.2527 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C262DA #7ADA62
analogous
#8662DA #C262DA #DA62B6
triadic
#C262DA #DAC262 #62DAC2
tetradic
#C262DA #DA8662 #7ADA62 #62B6DA
square
#C262DA #DA8662 #7ADA62 #62B6DA
split-complementary
#C262DA #B6DA62 #62DA86
monochromatic
#85259D #AF31CE #C262DA #D594E6 #E8C5F1

Accessibility & contrast

On white

3.47
#C262DA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.05
#C262DA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C262DA
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C262DA#FFFFFF#000000##000000
##C262DA1.003.476.056.05
#FFFFFF3.471.0021.0021.00
#0000006.0521.001.001.00
##0000006.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4983DE
Deuteranopia (green-blind)
#6A8DD7
Tritanopia (blue-blind)
#C37495
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #c262da;
/* rgb */ color: rgb(194, 98, 218);
/* oklch */ color: oklch(65.6% 0.194 319.3);
Tailwind
colors: {
  custom: {
    50: '#d793e6',
    500: '#c262da',
    950: '#000000',
  },
}
SCSS
$custom: #c262da;
$custom-light: #d793e6;
$custom-dark: #000000;
JSON
{
  "hex": "#c262da",
  "rgb": {
    "r": 194,
    "g": 98,
    "b": 218
  },
  "hsl": {
    "h": 288,
    "s": 61.856,
    "l": 61.961
  },
  "oklch": {
    "l": 0.65594,
    "c": 0.19366,
    "h": 319.3
  },
  "luminance": 0.25267
}

Semantic roles & 50–950 ramp

primary
#C262DA
secondary
#BFE2B6
accent
#CA1C3F
background
#FDF9FE
surface
#FBF2FC
border
#D4CCD5
text
#150D16
muted
#837E84

Preview Lab

Preview with #C262DA

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

Preview Lab → · Contrast checker → · Palette generator →

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