#C262CF#C262CF

#C262CF is a light, vivid purple. Relative luminance 0.247; OKLCH L 65.0% C 0.183 H 322.7°. Best body text is #000000 at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#C262CF
RGBrgb(194, 98, 207)
HSLhsl(293, 53%, 60%)
HSVhsv(293, 53%, 81%)
CMYKcmyk(6.3%, 52.7%, 0%, 18.8%)
CIE-LABlab(56.79, 54.18, -40.08)
CIE-LCHlch(56.79, 67.40, 323.51°)
OKLaboklab(65.02% 0.1457 -0.1108)
OKLCHoklch(65.02% 0.183 322.7)
XYZxyz(37.8772, 24.7115, 61.7940)
Luminance0.2471 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C262CF #6FCF62
analogous
#8C62CF #C262CF #CF62A6
triadic
#C262CF #CFC262 #62CFC2
tetradic
#C262CF #CF8C62 #6FCF62 #62A6CF
square
#C262CF #CF8C62 #6FCF62 #62A6CF
split-complementary
#C262CF #A6CF62 #62CF8C
monochromatic
#802B8C #AB39BB #C262CF #D491DD #E6C0EC

Accessibility & contrast

On white

3.53
#C262CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.94
#C262CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C262CF
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C262CF#FFFFFF#000000##000000
##C262CF1.003.535.945.94
#FFFFFF3.531.0021.0021.00
#0000005.9421.001.001.00
##0000005.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5181D3
Deuteranopia (green-blind)
#708CCC
Tritanopia (blue-blind)
#C5708F
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #c262cf;
/* rgb */ color: rgb(194, 98, 207);
/* oklch */ color: oklch(65.0% 0.183 322.7);
Tailwind
colors: {
  custom: {
    50: '#d793de',
    500: '#c262cf',
    950: '#000000',
  },
}
SCSS
$custom: #c262cf;
$custom-light: #d793de;
$custom-dark: #000000;
JSON
{
  "hex": "#c262cf",
  "rgb": {
    "r": 194,
    "g": 98,
    "b": 207
  },
  "hsl": {
    "h": 292.844,
    "s": 53.171,
    "l": 59.804
  },
  "oklch": {
    "l": 0.65018,
    "c": 0.18303,
    "h": 322.7
  },
  "luminance": 0.2471
}

Semantic roles & 50–950 ramp

primary
#C262CF
secondary
#B6DBB1
accent
#DD4B5D
background
#FDF9FD
surface
#FBF2FB
border
#D4CCD4
text
#150D15
muted
#837E83

Preview Lab

Preview with #C262CF

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

Preview Lab → · Contrast checker → · Palette generator →

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