#C262D9#C262D9

#C262D9 is a light, vivid purple. Relative luminance 0.252; OKLCH L 65.5% C 0.193 H 319.6°. Best body text is #000000 at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#C262D9
RGBrgb(194, 98, 217)
HSLhsl(288, 61%, 62%)
HSVhsv(288, 55%, 85%)
CMYKcmyk(10.6%, 54.8%, 0%, 14.9%)
CIE-LABlab(57.29, 56.10, -44.97)
CIE-LCHlch(57.29, 71.90, 321.29°)
OKLaboklab(65.54% 0.1466 -0.125)
OKLCHoklch(65.54% 0.193 319.6)
XYZxyz(39.1386, 25.2161, 68.4377)
Luminance0.2521 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C262D9 #79D962
analogous
#8762D9 #C262D9 #D962B5
triadic
#C262D9 #D9C262 #62D9C2
tetradic
#C262D9 #D98762 #79D962 #62B5D9
square
#C262D9 #D98762 #79D962 #62B5D9
split-complementary
#C262D9 #B5D962 #62D987
monochromatic
#84269B #AE31CC #C262D9 #D593E5 #E8C5F1

Accessibility & contrast

On white

3.48
#C262D9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.04
#C262D9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C262D9
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C262D9#FFFFFF#000000##000000
##C262D91.003.486.046.04
#FFFFFF3.481.0021.0021.00
#0000006.0421.001.001.00
##0000006.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A83DD
Deuteranopia (green-blind)
#6A8DD6
Tritanopia (blue-blind)
#C37494
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #c262d9;
/* rgb */ color: rgb(194, 98, 217);
/* oklch */ color: oklch(65.5% 0.193 319.6);
Tailwind
colors: {
  custom: {
    50: '#d793e5',
    500: '#c262d9',
    950: '#000000',
  },
}
SCSS
$custom: #c262d9;
$custom-light: #d793e5;
$custom-dark: #000000;
JSON
{
  "hex": "#c262d9",
  "rgb": {
    "r": 194,
    "g": 98,
    "b": 217
  },
  "hsl": {
    "h": 288.403,
    "s": 61.026,
    "l": 61.765
  },
  "oklch": {
    "l": 0.6554,
    "c": 0.19268,
    "h": 319.6
  },
  "luminance": 0.25214
}

Semantic roles & 50–950 ramp

primary
#C262D9
secondary
#BEE1B5
accent
#C91D3E
background
#FDF9FE
surface
#FBF2FC
border
#D4CCD5
text
#150D16
muted
#837E84

Preview Lab

Preview with #C262D9

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

Preview Lab → · Contrast checker → · Palette generator →

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