#C262DF#C262DF

#C262DF is a light, vivid purple. Relative luminance 0.255; OKLCH L 65.9% C 0.199 H 317.8°. Best body text is #000000 at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#C262DF
RGBrgb(194, 98, 223)
HSLhsl(286, 66%, 63%)
HSVhsv(286, 56%, 87%)
CMYKcmyk(13%, 56.1%, 0%, 12.5%)
CIE-LABlab(57.59, 57.28, -47.86)
CIE-LCHlch(57.59, 74.64, 320.12°)
OKLaboklab(65.86% 0.1471 -0.1334)
OKLCHoklch(65.86% 0.199 317.8)
XYZxyz(39.9332, 25.5339, 72.6227)
Luminance0.2553 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C262DF #7FDF62
analogous
#8362DF #C262DF #DF62BD
triadic
#C262DF #DFC262 #62DFC2
tetradic
#C262DF #DF8362 #7FDF62 #62BDDF
square
#C262DF #DF8362 #7FDF62 #62BDDF
split-complementary
#C262DF #BDDF62 #62DF83
monochromatic
#8722A5 #AE2FD5 #C262DF #D695E9 #EAC8F4

Accessibility & contrast

On white

3.44
#C262DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.11
#C262DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C262DF
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C262DF#FFFFFF#000000##000000
##C262DF1.003.446.116.11
#FFFFFF3.441.0021.0021.00
#0000006.1121.001.001.00
##0000006.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4584E3
Deuteranopia (green-blind)
#678DDC
Tritanopia (blue-blind)
#C17697
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #c262df;
/* rgb */ color: rgb(194, 98, 223);
/* oklch */ color: oklch(65.9% 0.199 317.8);
Tailwind
colors: {
  custom: {
    50: '#d793e9',
    500: '#c262df',
    950: '#000000',
  },
}
SCSS
$custom: #c262df;
$custom-light: #d793e9;
$custom-dark: #000000;
JSON
{
  "hex": "#c262df",
  "rgb": {
    "r": 194,
    "g": 98,
    "b": 223
  },
  "hsl": {
    "h": 286.08,
    "s": 66.138,
    "l": 62.941
  },
  "oklch": {
    "l": 0.65864,
    "c": 0.19856,
    "h": 317.8
  },
  "luminance": 0.25532
}

Semantic roles & 50–950 ramp

primary
#C262DF
secondary
#C2E5B8
accent
#CE1742
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150D16
muted
#837E84

Preview Lab

Preview with #C262DF

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

Preview Lab → · Contrast checker → · Palette generator →

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