#C262D8#C262D8

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

Color values

HEX#C262D8
RGBrgb(194, 98, 216)
HSLhsl(289, 60%, 62%)
HSVhsv(289, 55%, 85%)
CMYKcmyk(10.2%, 54.6%, 0%, 15.3%)
CIE-LABlab(57.24, 55.91, -44.48)
CIE-LCHlch(57.24, 71.44, 321.49°)
OKLaboklab(65.49% 0.1465 -0.1236)
OKLCHoklch(65.49% 0.192 319.9)
XYZxyz(39.0089, 25.1642, 67.7548)
Luminance0.2516 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C262D8 #78D862
analogous
#8762D8 #C262D8 #D862B3
triadic
#C262D8 #D8C262 #62D8C2
tetradic
#C262D8 #D88762 #78D862 #62B3D8
square
#C262D8 #D88762 #78D862 #62B3D8
split-complementary
#C262D8 #B3D862 #62D887
monochromatic
#842699 #AE32CA #C262D8 #D593E4 #E8C4F0

Accessibility & contrast

On white

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

On black

6.03
#C262D8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C262D8
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C262D8#FFFFFF#000000##000000
##C262D81.003.486.036.03
#FFFFFF3.481.0021.0021.00
#0000006.0321.001.001.00
##0000006.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B83DC
Deuteranopia (green-blind)
#6B8DD5
Tritanopia (blue-blind)
#C37394
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #c262d8;
/* rgb */ color: rgb(194, 98, 216);
/* oklch */ color: oklch(65.5% 0.192 319.9);
Tailwind
colors: {
  custom: {
    50: '#d793e4',
    500: '#c262d8',
    950: '#000000',
  },
}
SCSS
$custom: #c262d8;
$custom-light: #d793e4;
$custom-dark: #000000;
JSON
{
  "hex": "#c262d8",
  "rgb": {
    "r": 194,
    "g": 98,
    "b": 216
  },
  "hsl": {
    "h": 288.814,
    "s": 60.204,
    "l": 61.569
  },
  "oklch": {
    "l": 0.65487,
    "c": 0.1917,
    "h": 319.9
  },
  "luminance": 0.25163
}

Semantic roles & 50–950 ramp

primary
#C262D8
secondary
#BDE1B5
accent
#C81E3D
background
#FDF9FE
surface
#FBF2FC
border
#D4CCD5
text
#150D16
muted
#837E84

Preview Lab

Preview with #C262D8

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

Preview Lab → · Contrast checker → · Palette generator →

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