#C262DB#C262DB

#C262DB is a light, vivid purple. Relative luminance 0.253; OKLCH L 65.6% C 0.195 H 319.0°. Best body text is #000000 at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#C262DB
RGBrgb(194, 98, 219)
HSLhsl(288, 63%, 62%)
HSVhsv(288, 55%, 86%)
CMYKcmyk(11.4%, 55.3%, 0%, 14.1%)
CIE-LABlab(57.39, 56.49, -45.93)
CIE-LCHlch(57.39, 72.81, 320.88°)
OKLaboklab(65.65% 0.1468 -0.1278)
OKLCHoklch(65.65% 0.195 319)
XYZxyz(39.4003, 25.3208, 69.8161)
Luminance0.2532 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C262DB #7BDB62
analogous
#8562DB #C262DB #DB62B8
triadic
#C262DB #DBC262 #62DBC2
tetradic
#C262DB #DB8562 #7BDB62 #62B8DB
square
#C262DB #DB8562 #7BDB62 #62B8DB
split-complementary
#C262DB #B8DB62 #62DB85
monochromatic
#85249E #AF30D0 #C262DB #D594E6 #E9C6F2

Accessibility & contrast

On white

3.46
#C262DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.06
#C262DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C262DB
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C262DB#FFFFFF#000000##000000
##C262DB1.003.466.066.06
#FFFFFF3.461.0021.0021.00
#0000006.0621.001.001.00
##0000006.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4883DF
Deuteranopia (green-blind)
#698DD8
Tritanopia (blue-blind)
#C27495
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #c262db;
/* rgb */ color: rgb(194, 98, 219);
/* oklch */ color: oklch(65.6% 0.195 319.0);
Tailwind
colors: {
  custom: {
    50: '#d793e6',
    500: '#c262db',
    950: '#000000',
  },
}
SCSS
$custom: #c262db;
$custom-light: #d793e6;
$custom-dark: #000000;
JSON
{
  "hex": "#c262db",
  "rgb": {
    "r": 194,
    "g": 98,
    "b": 219
  },
  "hsl": {
    "h": 287.603,
    "s": 62.694,
    "l": 62.157
  },
  "oklch": {
    "l": 0.65647,
    "c": 0.19463,
    "h": 319
  },
  "luminance": 0.25319
}

Semantic roles & 50–950 ramp

primary
#C262DB
secondary
#BFE3B6
accent
#CA1B3F
background
#FDF9FE
surface
#FBF2FC
border
#D4CCD5
text
#150D16
muted
#837E84

Preview Lab

Preview with #C262DB

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

Preview Lab → · Contrast checker → · Palette generator →

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