#C262EF#C262EF

#C262EF is a light, highly saturated purple. Relative luminance 0.264; OKLCH L 66.8% C 0.214 H 313.5°. Best body text is #000000 at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#C262EF
RGBrgb(194, 98, 239)
HSLhsl(281, 82%, 66%)
HSVhsv(281, 59%, 94%)
CMYKcmyk(18.8%, 59%, 0%, 6.3%)
CIE-LABlab(58.45, 60.51, -55.45)
CIE-LCHlch(58.45, 82.08, 317.50°)
OKLaboklab(66.77% 0.1477 -0.1555)
OKLCHoklch(66.77% 0.214 313.5)
XYZxyz(42.1932, 26.4379, 84.5250)
Luminance0.2644 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C262EF #8FEF62
analogous
#7B62EF #C262EF #EF62D5
triadic
#C262EF #EFC262 #62EFC2
tetradic
#C262EF #EF7B62 #8FEF62 #62D5EF
square
#C262EF #EF7B62 #8FEF62 #62D5EF
split-complementary
#C262EF #D5EF62 #62EF7B
monochromatic
#8B14C3 #AC2AE9 #C262EF #D89AF5 #EDD1FA

Accessibility & contrast

On white

3.34
#C262EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.29
#C262EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C262EF
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C262EF#FFFFFF#000000##000000
##C262EF1.003.346.296.29
#FFFFFF3.341.0021.0021.00
#0000006.2921.001.001.00
##0000006.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3487F3
Deuteranopia (green-blind)
#5C8FEC
Tritanopia (blue-blind)
#BE7BA0
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #c262ef;
/* rgb */ color: rgb(194, 98, 239);
/* oklch */ color: oklch(66.8% 0.214 313.5);
Tailwind
colors: {
  custom: {
    50: '#d893f5',
    500: '#c262ef',
    950: '#000000',
  },
}
SCSS
$custom: #c262ef;
$custom-light: #d893f5;
$custom-dark: #000000;
JSON
{
  "hex": "#c262ef",
  "rgb": {
    "r": 194,
    "g": 98,
    "b": 239
  },
  "hsl": {
    "h": 280.851,
    "s": 81.503,
    "l": 66.078
  },
  "oklch": {
    "l": 0.66769,
    "c": 0.21447,
    "h": 313.5
  },
  "luminance": 0.26437
}

Semantic roles & 50–950 ramp

primary
#C262EF
secondary
#CEEEBF
accent
#DE084C
background
#FDF9FF
surface
#FBF2FE
border
#D4CCD6
text
#150D17
muted
#837E85

Preview Lab

Preview with #C262EF

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

Preview Lab → · Contrast checker → · Palette generator →

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