#C262DE#C262DE

#C262DE is a light, vivid purple. Relative luminance 0.255; OKLCH L 65.8% C 0.198 H 318.1°. Best body text is #000000 at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#C262DE
RGBrgb(194, 98, 222)
HSLhsl(286, 65%, 63%)
HSVhsv(286, 56%, 87%)
CMYKcmyk(12.6%, 55.9%, 0%, 12.9%)
CIE-LABlab(57.54, 57.08, -47.38)
CIE-LCHlch(57.54, 74.18, 320.31°)
OKLaboklab(65.81% 0.147 -0.132)
OKLCHoklch(65.81% 0.198 318.1)
XYZxyz(39.7988, 25.4801, 71.9148)
Luminance0.2548 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C262DE #7EDE62
analogous
#8462DE #C262DE #DE62BC
triadic
#C262DE #DEC262 #62DEC2
tetradic
#C262DE #DE8462 #7EDE62 #62BCDE
square
#C262DE #DE8462 #7EDE62 #62BCDE
split-complementary
#C262DE #BCDE62 #62DE84
monochromatic
#8622A3 #AE2FD3 #C262DE #D695E9 #E9C7F3

Accessibility & contrast

On white

3.44
#C262DE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.10
#C262DE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C262DE
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C262DE#FFFFFF#000000##000000
##C262DE1.003.446.106.10
#FFFFFF3.441.0021.0021.00
#0000006.1021.001.001.00
##0000006.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4684E2
Deuteranopia (green-blind)
#678DDB
Tritanopia (blue-blind)
#C27597
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #c262de;
/* rgb */ color: rgb(194, 98, 222);
/* oklch */ color: oklch(65.8% 0.198 318.1);
Tailwind
colors: {
  custom: {
    50: '#d793e9',
    500: '#c262de',
    950: '#000000',
  },
}
SCSS
$custom: #c262de;
$custom-light: #d793e9;
$custom-dark: #000000;
JSON
{
  "hex": "#c262de",
  "rgb": {
    "r": 194,
    "g": 98,
    "b": 222
  },
  "hsl": {
    "h": 286.452,
    "s": 65.263,
    "l": 62.745
  },
  "oklch": {
    "l": 0.6581,
    "c": 0.19757,
    "h": 318.1
  },
  "luminance": 0.25479
}

Semantic roles & 50–950 ramp

primary
#C262DE
secondary
#C2E4B7
accent
#CD1841
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150D16
muted
#837E84

Preview Lab

Preview with #C262DE

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

Preview Lab → · Contrast checker → · Palette generator →

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