#C262D2#C262D2

#C262D2 is a light, vivid purple. Relative luminance 0.249; OKLCH L 65.2% C 0.186 H 321.7°. Best body text is #000000 at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#C262D2
RGBrgb(194, 98, 210)
HSLhsl(291, 55%, 60%)
HSVhsv(291, 53%, 82%)
CMYKcmyk(7.6%, 53.3%, 0%, 17.6%)
CIE-LABlab(56.94, 54.75, -41.55)
CIE-LCHlch(56.94, 68.73, 322.80°)
OKLaboklab(65.17% 0.146 -0.1151)
OKLCHoklch(65.17% 0.186 321.7)
XYZxyz(38.2474, 24.8596, 63.7440)
Luminance0.2486 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C262D2 #72D262
analogous
#8A62D2 #C262D2 #D262AA
triadic
#C262D2 #D2C262 #62D2C2
tetradic
#C262D2 #D28A62 #72D262 #62AAD2
square
#C262D2 #D28A62 #72D262 #62AAD2
split-complementary
#C262D2 #AAD262 #62D28A
monochromatic
#822990 #AC37C0 #C262D2 #D492E0 #E7C1ED

Accessibility & contrast

On white

3.52
#C262D2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.97
#C262D2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C262D2
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C262D2#FFFFFF#000000##000000
##C262D21.003.525.975.97
#FFFFFF3.521.0021.0021.00
#0000005.9721.001.001.00
##0000005.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F82D6
Deuteranopia (green-blind)
#6E8CCF
Tritanopia (blue-blind)
#C47191
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #c262d2;
/* rgb */ color: rgb(194, 98, 210);
/* oklch */ color: oklch(65.2% 0.186 321.7);
Tailwind
colors: {
  custom: {
    50: '#d793e0',
    500: '#c262d2',
    950: '#000000',
  },
}
SCSS
$custom: #c262d2;
$custom-light: #d793e0;
$custom-dark: #000000;
JSON
{
  "hex": "#c262d2",
  "rgb": {
    "r": 194,
    "g": 98,
    "b": 210
  },
  "hsl": {
    "h": 291.429,
    "s": 55.446,
    "l": 60.392
  },
  "oklch": {
    "l": 0.65172,
    "c": 0.1859,
    "h": 321.7
  },
  "luminance": 0.24858
}

Semantic roles & 50–950 ramp

primary
#C262D2
secondary
#B9DDB3
accent
#C32339
background
#FDF9FD
surface
#FBF2FB
border
#D4CCD4
text
#150D15
muted
#837E83

Preview Lab

Preview with #C262D2

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

Preview Lab → · Contrast checker → · Palette generator →

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