#C262FC#C262FC

#C262FC is a light, highly saturated violet. Relative luminance 0.272; OKLCH L 67.5% C 0.228 H 310.4°. Best body text is #000000 at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#C262FC
RGBrgb(194, 98, 252)
HSLhsl(277, 96%, 69%)
HSVhsv(277, 61%, 99%)
CMYKcmyk(23%, 61.1%, 0%, 1.2%)
CIE-LABlab(59.19, 63.23, -61.48)
CIE-LCHlch(59.19, 88.19, 315.81°)
OKLaboklab(67.54% 0.1476 -0.1732)
OKLCHoklch(67.54% 0.228 310.4)
XYZxyz(44.1832, 27.2339, 95.0057)
Luminance0.2723 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C262FC #9CFC62
analogous
#7562FC #C262FC #FC62E9
triadic
#C262FC #FCC262 #62FCC2
tetradic
#C262FC #FC7562 #9CFC62 #62E9FC
square
#C262FC #FC7562 #9CFC62 #62E9FC
split-complementary
#C262FC #E9FC62 #62FC75
monochromatic
#8D04DF #AB26FB #C262FC #D99EFD #F1DAFE

Accessibility & contrast

On white

3.26
#C262FC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.45
#C262FC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C262FC
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C262FC#FFFFFF#000000##000000
##C262FC1.003.266.456.45
#FFFFFF3.261.0021.0021.00
#0000006.4521.001.001.00
##0000006.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#1C8AFF
Deuteranopia (green-blind)
#5190F8
Tritanopia (blue-blind)
#BA80A6
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #c262fc;
/* rgb */ color: rgb(194, 98, 252);
/* oklch */ color: oklch(67.5% 0.228 310.4);
Tailwind
colors: {
  custom: {
    50: '#d894fe',
    500: '#c262fc',
    950: '#000000',
  },
}
SCSS
$custom: #c262fc;
$custom-light: #d894fe;
$custom-dark: #000000;
JSON
{
  "hex": "#c262fc",
  "rgb": {
    "r": 194,
    "g": 98,
    "b": 252
  },
  "hsl": {
    "h": 277.403,
    "s": 96.25,
    "l": 68.627
  },
  "oklch": {
    "l": 0.67544,
    "c": 0.22755,
    "h": 310.4
  },
  "luminance": 0.27233
}

Semantic roles & 50–950 ramp

primary
#C262FC
secondary
#D7F4C6
accent
#E60056
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150D18
muted
#837E86

Preview Lab

Preview with #C262FC

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

Preview Lab → · Contrast checker → · Palette generator →

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