#C262E8#C262E8

#C262E8 is a light, highly saturated purple. Relative luminance 0.260; OKLCH L 66.4% C 0.207 H 315.3°. Best body text is #000000 at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#C262E8
RGBrgb(194, 98, 232)
HSLhsl(283, 74%, 65%)
HSVhsv(283, 58%, 91%)
CMYKcmyk(16.4%, 57.8%, 0%, 9%)
CIE-LABlab(58.07, 59.08, -52.15)
CIE-LCHlch(58.07, 78.81, 318.57°)
OKLaboklab(66.37% 0.1475 -0.1459)
OKLCHoklch(66.37% 0.207 315.3)
XYZxyz(41.1790, 26.0322, 79.1838)
Luminance0.2603 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C262E8 #88E862
analogous
#7F62E8 #C262E8 #E862CB
triadic
#C262E8 #E8C262 #62E8C2
tetradic
#C262E8 #E87F62 #88E862 #62CBE8
square
#C262E8 #E87F62 #88E862 #62CBE8
split-complementary
#C262E8 #CBE862 #62E87F
monochromatic
#891BB5 #AD2DE0 #C262E8 #D797F0 #EBCDF8

Accessibility & contrast

On white

3.38
#C262E8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.21
#C262E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C262E8
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C262E8#FFFFFF#000000##000000
##C262E81.003.386.216.21
#FFFFFF3.381.0021.0021.00
#0000006.2121.001.001.00
##0000006.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C86EC
Deuteranopia (green-blind)
#618EE5
Tritanopia (blue-blind)
#BF799C
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #c262e8;
/* rgb */ color: rgb(194, 98, 232);
/* oklch */ color: oklch(66.4% 0.207 315.3);
Tailwind
colors: {
  custom: {
    50: '#d793f0',
    500: '#c262e8',
    950: '#000000',
  },
}
SCSS
$custom: #c262e8;
$custom-light: #d793f0;
$custom-dark: #000000;
JSON
{
  "hex": "#c262e8",
  "rgb": {
    "r": 194,
    "g": 98,
    "b": 232
  },
  "hsl": {
    "h": 282.985,
    "s": 74.444,
    "l": 64.706
  },
  "oklch": {
    "l": 0.66366,
    "c": 0.20748,
    "h": 315.3
  },
  "luminance": 0.26031
}

Semantic roles & 50–950 ramp

primary
#C262E8
secondary
#C9EABC
accent
#D70F48
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150D16
muted
#837E84

Preview Lab

Preview with #C262E8

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

Preview Lab → · Contrast checker → · Palette generator →

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