#C262C2#C262C2

#C262C2 is a light, vivid purple. Relative luminance 0.241; OKLCH L 64.4% C 0.171 H 327.3°. Best body text is #000000 at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#C262C2
RGBrgb(194, 98, 194)
HSLhsl(300, 44%, 57%)
HSVhsv(300, 49%, 76%)
CMYKcmyk(0%, 49.5%, 0%, 23.9%)
CIE-LABlab(56.19, 51.78, -33.62)
CIE-LCHlch(56.19, 61.73, 327.01°)
OKLaboklab(64.38% 0.1439 -0.0922)
OKLCHoklch(64.38% 0.171 327.3)
XYZxyz(36.3528, 24.1017, 53.7658)
Luminance0.2410 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C262C2 #62C262
analogous
#9262C2 #C262C2 #C26292
triadic
#C262C2 #C2C262 #62C2C2
tetradic
#C262C2 #C29262 #62C262 #6292C2
square
#C262C2 #C29262 #62C262 #6292C2
split-complementary
#C262C2 #92C262 #62C292
monochromatic
#7A2F7A #A641A6 #C262C2 #D38ED3 #E4BAE4

Accessibility & contrast

On white

3.61
#C262C2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.82
#C262C2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C262C2
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C262C2#FFFFFF#000000##000000
##C262C21.003.615.825.82
#FFFFFF3.611.0021.0021.00
#0000005.8221.001.001.00
##0000005.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#597FC5
Deuteranopia (green-blind)
#768BBF
Tritanopia (blue-blind)
#C76C89
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #c262c2;
/* rgb */ color: rgb(194, 98, 194);
/* oklch */ color: oklch(64.4% 0.171 327.3);
Tailwind
colors: {
  custom: {
    50: '#d792d4',
    500: '#c262c2',
    950: '#000000',
  },
}
SCSS
$custom: #c262c2;
$custom-light: #d792d4;
$custom-dark: #000000;
JSON
{
  "hex": "#c262c2",
  "rgb": {
    "r": 194,
    "g": 98,
    "b": 194
  },
  "hsl": {
    "h": 300,
    "s": 44.037,
    "l": 57.255
  },
  "oklch": {
    "l": 0.64376,
    "c": 0.17091,
    "h": 327.3
  },
  "luminance": 0.241
}

Semantic roles & 50–950 ramp

primary
#C262C2
secondary
#ACD3AC
accent
#D45454
background
#FDF9FD
surface
#FBF1FA
border
#D4CBD3
text
#150D14
muted
#837E83

Preview Lab

Preview with #C262C2

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

Preview Lab → · Contrast checker → · Palette generator →

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