#C262FF#C262FF

#C262FF is a light, highly saturated violet. Relative luminance 0.274; OKLCH L 67.7% C 0.231 H 309.8°. Best body text is #000000 at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#C262FF
RGBrgb(194, 98, 255)
HSLhsl(277, 100%, 69%)
HSVhsv(277, 62%, 100%)
CMYKcmyk(23.9%, 61.6%, 0%, 0%)
CIE-LABlab(59.37, 63.87, -62.85)
CIE-LCHlch(59.37, 89.61, 315.46°)
OKLaboklab(67.73% 0.1475 -0.1772)
OKLCHoklch(67.73% 0.231 309.8)
XYZxyz(44.6623, 27.4255, 97.5292)
Luminance0.2742 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C262FF #9FFF62
analogous
#7462FF #C262FF #FF62ED
triadic
#C262FF #FFC262 #62FFC2
tetradic
#C262FF #FF7462 #9FFF62 #62EDFF
square
#C262FF #FF7462 #9FFF62 #62EDFF
split-complementary
#C262FF #EDFF62 #62FF74
monochromatic
#8D00E7 #AA25FF #C262FF #DA9FFF #F2DCFF

Accessibility & contrast

On white

3.24
#C262FF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.49
#C262FF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C262FF
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C262FF#FFFFFF#000000##000000
##C262FF1.003.246.496.49
#FFFFFF3.241.0021.0021.00
#0000006.4921.001.001.00
##0000006.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#128BFF
Deuteranopia (green-blind)
#4E90FB
Tritanopia (blue-blind)
#BA81A8
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #c262ff;
/* rgb */ color: rgb(194, 98, 255);
/* oklch */ color: oklch(67.7% 0.231 309.8);
Tailwind
colors: {
  custom: {
    50: '#d894ff',
    500: '#c262ff',
    950: '#000000',
  },
}
SCSS
$custom: #c262ff;
$custom-light: #d894ff;
$custom-dark: #000000;
JSON
{
  "hex": "#c262ff",
  "rgb": {
    "r": 194,
    "g": 98,
    "b": 255
  },
  "hsl": {
    "h": 276.688,
    "s": 100,
    "l": 69.216
  },
  "oklch": {
    "l": 0.67728,
    "c": 0.23058,
    "h": 309.8
  },
  "luminance": 0.27425
}

Semantic roles & 50–950 ramp

primary
#C262FF
secondary
#D9F5C8
accent
#E60059
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150D18
muted
#837E86

Preview Lab

Preview with #C262FF

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

Preview Lab → · Contrast checker → · Palette generator →

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