#C262CB#C262CB

#C262CB is a light, vivid purple. Relative luminance 0.245; OKLCH L 64.8% C 0.179 H 324.1°. Best body text is #000000 at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#C262CB
RGBrgb(194, 98, 203)
HSLhsl(295, 50%, 59%)
HSVhsv(295, 52%, 80%)
CMYKcmyk(4.4%, 51.7%, 0%, 20.4%)
CIE-LABlab(56.60, 53.43, -38.11)
CIE-LCHlch(56.60, 65.63, 324.50°)
OKLaboklab(64.82% 0.1452 -0.1051)
OKLCHoklch(64.82% 0.179 324.1)
XYZxyz(37.3943, 24.5184, 59.2512)
Luminance0.2452 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C262CB #6BCB62
analogous
#8E62CB #C262CB #CB62A0
triadic
#C262CB #CBC262 #62CBC2
tetradic
#C262CB #CB8E62 #6BCB62 #62A0CB
square
#C262CB #CB8E62 #6BCB62 #62A0CB
split-complementary
#C262CB #A0CB62 #62CB8E
monochromatic
#7E2C86 #AA3CB4 #C262CB #D490DA #E6BEE9

Accessibility & contrast

On white

3.56
#C262CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.90
#C262CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C262CB
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C262CB#FFFFFF#000000##000000
##C262CB1.003.565.905.90
#FFFFFF3.561.0021.0021.00
#0000005.9021.001.001.00
##0000005.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5480CE
Deuteranopia (green-blind)
#728CC8
Tritanopia (blue-blind)
#C56F8E
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #c262cb;
/* rgb */ color: rgb(194, 98, 203);
/* oklch */ color: oklch(64.8% 0.179 324.1);
Tailwind
colors: {
  custom: {
    50: '#d792db',
    500: '#c262cb',
    950: '#000000',
  },
}
SCSS
$custom: #c262cb;
$custom-light: #d792db;
$custom-dark: #000000;
JSON
{
  "hex": "#c262cb",
  "rgb": {
    "r": 194,
    "g": 98,
    "b": 203
  },
  "hsl": {
    "h": 294.857,
    "s": 50.239,
    "l": 59.02
  },
  "oklch": {
    "l": 0.64816,
    "c": 0.17924,
    "h": 324.1
  },
  "luminance": 0.24516
}

Semantic roles & 50–950 ramp

primary
#C262CB
secondary
#B3D9B0
accent
#DA4E5A
background
#FDF9FD
surface
#FBF2FB
border
#D4CCD4
text
#150D15
muted
#837E83

Preview Lab

Preview with #C262CB

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

Preview Lab → · Contrast checker → · Palette generator →

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