#C262DD#C262DD

#C262DD is a light, vivid purple. Relative luminance 0.254; OKLCH L 65.8% C 0.197 H 318.4°. Best body text is #000000 at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#C262DD
RGBrgb(194, 98, 221)
HSLhsl(287, 64%, 63%)
HSVhsv(287, 56%, 87%)
CMYKcmyk(12.2%, 55.7%, 0%, 13.3%)
CIE-LABlab(57.49, 56.88, -46.90)
CIE-LCHlch(57.49, 73.72, 320.50°)
OKLaboklab(65.76% 0.1469 -0.1306)
OKLCHoklch(65.76% 0.197 318.4)
XYZxyz(39.6652, 25.4267, 71.2110)
Luminance0.2542 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C262DD #7DDD62
analogous
#8462DD #C262DD #DD62BB
triadic
#C262DD #DDC262 #62DDC2
tetradic
#C262DD #DD8462 #7DDD62 #62BBDD
square
#C262DD #DD8462 #7DDD62 #62BBDD
split-complementary
#C262DD #BBDD62 #62DD84
monochromatic
#8623A2 #AE30D2 #C262DD #D694E8 #E9C7F3

Accessibility & contrast

On white

3.45
#C262DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.08
#C262DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C262DD
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C262DD#FFFFFF#000000##000000
##C262DD1.003.456.086.08
#FFFFFF3.451.0021.0021.00
#0000006.0821.001.001.00
##0000006.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4784E1
Deuteranopia (green-blind)
#688DDA
Tritanopia (blue-blind)
#C27596
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #c262dd;
/* rgb */ color: rgb(194, 98, 221);
/* oklch */ color: oklch(65.8% 0.197 318.4);
Tailwind
colors: {
  custom: {
    50: '#d793e8',
    500: '#c262dd',
    950: '#000000',
  },
}
SCSS
$custom: #c262dd;
$custom-light: #d793e8;
$custom-dark: #000000;
JSON
{
  "hex": "#c262dd",
  "rgb": {
    "r": 194,
    "g": 98,
    "b": 221
  },
  "hsl": {
    "h": 286.829,
    "s": 64.398,
    "l": 62.549
  },
  "oklch": {
    "l": 0.65755,
    "c": 0.1966,
    "h": 318.4
  },
  "luminance": 0.25425
}

Semantic roles & 50–950 ramp

primary
#C262DD
secondary
#C1E4B7
accent
#CC1941
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150D16
muted
#837E84

Preview Lab

Preview with #C262DD

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

Preview Lab → · Contrast checker → · Palette generator →

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