#C262C6#C262C6

#C262C6 is a light, vivid purple. Relative luminance 0.243; OKLCH L 64.6% C 0.175 H 325.9°. Best body text is #000000 at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#C262C6
RGBrgb(194, 98, 198)
HSLhsl(298, 47%, 58%)
HSVhsv(298, 51%, 78%)
CMYKcmyk(2%, 50.5%, 0%, 22.4%)
CIE-LABlab(56.37, 52.51, -35.62)
CIE-LCHlch(56.37, 63.45, 325.85°)
OKLaboklab(64.57% 0.1445 -0.098)
OKLCHoklch(64.57% 0.175 325.9)
XYZxyz(36.8081, 24.2839, 56.1636)
Luminance0.2428 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C262C6 #66C662
analogous
#9062C6 #C262C6 #C66298
triadic
#C262C6 #C6C262 #62C6C2
tetradic
#C262C6 #C69062 #66C662 #6298C6
square
#C262C6 #C69062 #66C662 #6298C6
split-complementary
#C262C6 #98C662 #62C690
monochromatic
#7C2E7F #A83FAC #C262C6 #D38FD6 #E5BCE7

Accessibility & contrast

On white

3.59
#C262C6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.86
#C262C6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C262C6
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C262C6#FFFFFF#000000##000000
##C262C61.003.595.865.86
#FFFFFF3.591.0021.0021.00
#0000005.8621.001.001.00
##0000005.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#577FC9
Deuteranopia (green-blind)
#748BC3
Tritanopia (blue-blind)
#C66E8B
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #c262c6;
/* rgb */ color: rgb(194, 98, 198);
/* oklch */ color: oklch(64.6% 0.175 325.9);
Tailwind
colors: {
  custom: {
    50: '#d792d7',
    500: '#c262c6',
    950: '#000000',
  },
}
SCSS
$custom: #c262c6;
$custom-light: #d792d7;
$custom-dark: #000000;
JSON
{
  "hex": "#c262c6",
  "rgb": {
    "r": 194,
    "g": 98,
    "b": 198
  },
  "hsl": {
    "h": 297.6,
    "s": 46.729,
    "l": 58.039
  },
  "oklch": {
    "l": 0.64569,
    "c": 0.17458,
    "h": 325.9
  },
  "luminance": 0.24282
}

Semantic roles & 50–950 ramp

primary
#C262C6
secondary
#B0D6AE
accent
#D65157
background
#FDF9FD
surface
#FBF2FA
border
#D4CCD3
text
#150D14
muted
#837E83

Preview Lab

Preview with #C262C6

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

Preview Lab → · Contrast checker → · Palette generator →

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