#C262E7#C262E7

#C262E7 is a light, highly saturated purple. Relative luminance 0.260; OKLCH L 66.3% C 0.206 H 315.6°. Best body text is #000000 at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#C262E7
RGBrgb(194, 98, 231)
HSLhsl(283, 73%, 65%)
HSVhsv(283, 58%, 91%)
CMYKcmyk(16%, 57.6%, 0%, 9.4%)
CIE-LABlab(58.01, 58.88, -51.68)
CIE-LCHlch(58.01, 78.34, 318.73°)
OKLaboklab(66.31% 0.1475 -0.1445)
OKLCHoklch(66.31% 0.206 315.6)
XYZxyz(41.0374, 25.9756, 78.4379)
Luminance0.2597 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C262E7 #87E762
analogous
#7F62E7 #C262E7 #E762CA
triadic
#C262E7 #E7C262 #62E7C2
tetradic
#C262E7 #E77F62 #87E762 #62CAE7
square
#C262E7 #E77F62 #87E762 #62CAE7
split-complementary
#C262E7 #CAE762 #62E77F
monochromatic
#891BB3 #AD2DDF #C262E7 #D797EF #EBCCF7

Accessibility & contrast

On white

3.39
#C262E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.19
#C262E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C262E7
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C262E7#FFFFFF#000000##000000
##C262E71.003.396.196.19
#FFFFFF3.391.0021.0021.00
#0000006.1921.001.001.00
##0000006.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D86EB
Deuteranopia (green-blind)
#628EE4
Tritanopia (blue-blind)
#C0789B
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #c262e7;
/* rgb */ color: rgb(194, 98, 231);
/* oklch */ color: oklch(66.3% 0.206 315.6);
Tailwind
colors: {
  custom: {
    50: '#d793ef',
    500: '#c262e7',
    950: '#000000',
  },
}
SCSS
$custom: #c262e7;
$custom-light: #d793ef;
$custom-dark: #000000;
JSON
{
  "hex": "#c262e7",
  "rgb": {
    "r": 194,
    "g": 98,
    "b": 231
  },
  "hsl": {
    "h": 283.308,
    "s": 73.481,
    "l": 64.51
  },
  "oklch": {
    "l": 0.66309,
    "c": 0.20649,
    "h": 315.6
  },
  "luminance": 0.25974
}

Semantic roles & 50–950 ramp

primary
#C262E7
secondary
#C8E9BB
accent
#D61047
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150D16
muted
#837E84

Preview Lab

Preview with #C262E7

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

Preview Lab → · Contrast checker → · Palette generator →

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