#C262FA#C262FA

#C262FA is a light, highly saturated violet. Relative luminance 0.271; OKLCH L 67.4% C 0.226 H 310.9°. Best body text is #000000 at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#C262FA
RGBrgb(194, 98, 250)
HSLhsl(278, 94%, 68%)
HSVhsv(278, 61%, 98%)
CMYKcmyk(22.4%, 60.8%, 0%, 2%)
CIE-LABlab(59.07, 62.81, -60.56)
CIE-LCHlch(59.07, 87.25, 316.05°)
OKLaboklab(67.42% 0.1476 -0.1705)
OKLCHoklch(67.42% 0.226 310.9)
XYZxyz(43.8679, 27.1078, 93.3454)
Luminance0.2711 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C262FA #9AFA62
analogous
#7662FA #C262FA #FA62E6
triadic
#C262FA #FAC262 #62FAC2
tetradic
#C262FA #FA7662 #9AFA62 #62E6FA
square
#C262FA #FA7662 #9AFA62 #62E6FA
split-complementary
#C262FA #E6FA62 #62FA76
monochromatic
#8D07DB #AB27F8 #C262FA #D99DFC #F0D9FE

Accessibility & contrast

On white

3.27
#C262FA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.42
#C262FA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C262FA
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C262FA#FFFFFF#000000##000000
##C262FA1.003.276.426.42
#FFFFFF3.271.0021.0021.00
#0000006.4221.001.001.00
##0000006.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#218AFF
Deuteranopia (green-blind)
#5290F6
Tritanopia (blue-blind)
#BB7FA5
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #c262fa;
/* rgb */ color: rgb(194, 98, 250);
/* oklch */ color: oklch(67.4% 0.226 310.9);
Tailwind
colors: {
  custom: {
    50: '#d893fd',
    500: '#c262fa',
    950: '#000000',
  },
}
SCSS
$custom: #c262fa;
$custom-light: #d893fd;
$custom-dark: #000000;
JSON
{
  "hex": "#c262fa",
  "rgb": {
    "r": 194,
    "g": 98,
    "b": 250
  },
  "hsl": {
    "h": 277.895,
    "s": 93.827,
    "l": 68.235
  },
  "oklch": {
    "l": 0.67422,
    "c": 0.22554,
    "h": 310.9
  },
  "luminance": 0.27107
}

Semantic roles & 50–950 ramp

primary
#C262FA
secondary
#D6F3C5
accent
#E60055
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150D18
muted
#837E86

Preview Lab

Preview with #C262FA

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

Preview Lab → · Contrast checker → · Palette generator →

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