#C262E1#C262E1

#C262E1 is a light, highly saturated purple. Relative luminance 0.256; OKLCH L 66.0% C 0.201 H 317.2°. Best body text is #000000 at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#C262E1
RGBrgb(194, 98, 225)
HSLhsl(285, 68%, 63%)
HSVhsv(285, 56%, 88%)
CMYKcmyk(13.8%, 56.4%, 0%, 11.8%)
CIE-LABlab(57.70, 57.68, -48.82)
CIE-LCHlch(57.70, 75.56, 319.75°)
OKLaboklab(65.97% 0.1472 -0.1362)
OKLCHoklch(65.97% 0.201 317.2)
XYZxyz(40.2045, 25.6424, 74.0512)
Luminance0.2564 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C262E1 #81E162
analogous
#8262E1 #C262E1 #E162C0
triadic
#C262E1 #E1C262 #62E1C2
tetradic
#C262E1 #E18262 #81E162 #62C0E1
square
#C262E1 #E18262 #81E162 #62C0E1
split-complementary
#C262E1 #C0E162 #62E182
monochromatic
#8720A8 #AE2FD7 #C262E1 #D695EB #EAC9F5

Accessibility & contrast

On white

3.43
#C262E1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.13
#C262E1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C262E1
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C262E1#FFFFFF#000000##000000
##C262E11.003.436.136.13
#FFFFFF3.431.0021.0021.00
#0000006.1321.001.001.00
##0000006.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4384E5
Deuteranopia (green-blind)
#668EDE
Tritanopia (blue-blind)
#C17698
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #c262e1;
/* rgb */ color: rgb(194, 98, 225);
/* oklch */ color: oklch(66.0% 0.201 317.2);
Tailwind
colors: {
  custom: {
    50: '#d793eb',
    500: '#c262e1',
    950: '#000000',
  },
}
SCSS
$custom: #c262e1;
$custom-light: #d793eb;
$custom-dark: #000000;
JSON
{
  "hex": "#c262e1",
  "rgb": {
    "r": 194,
    "g": 98,
    "b": 225
  },
  "hsl": {
    "h": 285.354,
    "s": 67.914,
    "l": 63.333
  },
  "oklch": {
    "l": 0.65974,
    "c": 0.20054,
    "h": 317.2
  },
  "luminance": 0.25641
}

Semantic roles & 50–950 ramp

primary
#C262E1
secondary
#C4E6B9
accent
#D01643
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150D16
muted
#837E84

Preview Lab

Preview with #C262E1

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

Preview Lab → · Contrast checker → · Palette generator →

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