#C262E4#C262E4

#C262E4 is a light, highly saturated purple. Relative luminance 0.258; OKLCH L 66.1% C 0.203 H 316.4°. Best body text is #000000 at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#C262E4
RGBrgb(194, 98, 228)
HSLhsl(284, 71%, 64%)
HSVhsv(284, 57%, 89%)
CMYKcmyk(14.9%, 57%, 0%, 10.6%)
CIE-LABlab(57.85, 58.28, -50.25)
CIE-LCHlch(57.85, 76.95, 319.23°)
OKLaboklab(66.14% 0.1473 -0.1404)
OKLCHoklch(66.14% 0.204 316.4)
XYZxyz(40.6173, 25.8075, 76.2255)
Luminance0.2581 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C262E4 #84E462
analogous
#8162E4 #C262E4 #E462C5
triadic
#C262E4 #E4C262 #62E4C2
tetradic
#C262E4 #E48162 #84E462 #62C5E4
square
#C262E4 #E48162 #84E462 #62C5E4
split-complementary
#C262E4 #C5E462 #62E481
monochromatic
#881EAE #AE2EDB #C262E4 #D696ED #EBCAF6

Accessibility & contrast

On white

3.41
#C262E4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.16
#C262E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C262E4
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C262E4#FFFFFF#000000##000000
##C262E41.003.416.166.16
#FFFFFF3.411.0021.0021.00
#0000006.1621.001.001.00
##0000006.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4085E8
Deuteranopia (green-blind)
#648EE1
Tritanopia (blue-blind)
#C0779A
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #c262e4;
/* rgb */ color: rgb(194, 98, 228);
/* oklch */ color: oklch(66.1% 0.203 316.4);
Tailwind
colors: {
  custom: {
    50: '#d793ed',
    500: '#c262e4',
    950: '#000000',
  },
}
SCSS
$custom: #c262e4;
$custom-light: #d793ed;
$custom-dark: #000000;
JSON
{
  "hex": "#c262e4",
  "rgb": {
    "r": 194,
    "g": 98,
    "b": 228
  },
  "hsl": {
    "h": 284.308,
    "s": 70.652,
    "l": 63.922
  },
  "oklch": {
    "l": 0.66141,
    "c": 0.2035,
    "h": 316.4
  },
  "luminance": 0.25806
}

Semantic roles & 50–950 ramp

primary
#C262E4
secondary
#C6E8BA
accent
#D31345
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150D16
muted
#837E84

Preview Lab

Preview with #C262E4

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

Preview Lab → · Contrast checker → · Palette generator →

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