#C262C1#C262C1

#C262C1 is a light, vivid purple. Relative luminance 0.241; OKLCH L 64.3% C 0.170 H 327.7°. Best body text is #000000 at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#C262C1
RGBrgb(194, 98, 193)
HSLhsl(301, 44%, 57%)
HSVhsv(301, 49%, 76%)
CMYKcmyk(0%, 49.5%, 0.5%, 23.9%)
CIE-LABlab(56.14, 51.60, -33.11)
CIE-LCHlch(56.14, 61.31, 327.31°)
OKLaboklab(64.33% 0.1437 -0.0908)
OKLCHoklch(64.33% 0.17 327.7)
XYZxyz(36.2409, 24.0570, 53.1763)
Luminance0.2406 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C262C1 #62C263
analogous
#9362C2 #C262C1 #C26291
triadic
#C262C1 #C1C262 #62C1C2
tetradic
#C262C1 #C29362 #62C263 #6291C2
square
#C262C1 #C29362 #62C263 #6291C2
split-complementary
#C262C1 #91C262 #62C293
monochromatic
#7A2F79 #A641A5 #C262C1 #D38ED2 #E4BAE4

Accessibility & contrast

On white

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

On black

5.81
#C262C1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C262C1
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C262C1#FFFFFF#000000##000000
##C262C11.003.615.815.81
#FFFFFF3.611.0021.0021.00
#0000005.8121.001.001.00
##0000005.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A7FC4
Deuteranopia (green-blind)
#768BBE
Tritanopia (blue-blind)
#C76C89
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #c262c1;
/* rgb */ color: rgb(194, 98, 193);
/* oklch */ color: oklch(64.3% 0.170 327.7);
Tailwind
colors: {
  custom: {
    50: '#d792d4',
    500: '#c262c1',
    950: '#000000',
  },
}
SCSS
$custom: #c262c1;
$custom-light: #d792d4;
$custom-dark: #000000;
JSON
{
  "hex": "#c262c1",
  "rgb": {
    "r": 194,
    "g": 98,
    "b": 193
  },
  "hsl": {
    "h": 300.625,
    "s": 44.037,
    "l": 57.255
  },
  "oklch": {
    "l": 0.64328,
    "c": 0.17001,
    "h": 327.7
  },
  "luminance": 0.24055
}

Semantic roles & 50–950 ramp

primary
#C262C1
secondary
#ACD3AD
accent
#D45554
background
#FDF9FD
surface
#FBF1FA
border
#D4CBD3
text
#150D14
muted
#837E83

Preview Lab

Preview with #C262C1

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

Preview Lab → · Contrast checker → · Palette generator →

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