#C262F5#C262F5

#C262F5 is a light, highly saturated violet. Relative luminance 0.268; OKLCH L 67.1% C 0.221 H 312.1°. Best body text is #000000 at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#C262F5
RGBrgb(194, 98, 245)
HSLhsl(279, 88%, 67%)
HSVhsv(279, 60%, 96%)
CMYKcmyk(20.8%, 60%, 0%, 3.9%)
CIE-LABlab(58.79, 61.76, -58.25)
CIE-LCHlch(58.79, 84.89, 316.68°)
OKLaboklab(67.12% 0.1477 -0.1637)
OKLCHoklch(67.12% 0.221 312.1)
XYZxyz(43.0943, 26.7983, 89.2710)
Luminance0.2680 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C262F5 #95F562
analogous
#7962F5 #C262F5 #F562DE
triadic
#C262F5 #F5C262 #62F5C2
tetradic
#C262F5 #F57962 #95F562 #62DEF5
square
#C262F5 #F57962 #95F562 #62DEF5
split-complementary
#C262F5 #DEF562 #62F579
monochromatic
#8C0DCF #AC28F1 #C262F5 #D89CF9 #EFD5FC

Accessibility & contrast

On white

3.30
#C262F5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.36
#C262F5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C262F5
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C262F5#FFFFFF#000000##000000
##C262F51.003.306.366.36
#FFFFFF3.301.0021.0021.00
#0000006.3621.001.001.00
##0000006.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#2A89FA
Deuteranopia (green-blind)
#578FF1
Tritanopia (blue-blind)
#BC7DA3
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #c262f5;
/* rgb */ color: rgb(194, 98, 245);
/* oklch */ color: oklch(67.1% 0.221 312.1);
Tailwind
colors: {
  custom: {
    50: '#d893f9',
    500: '#c262f5',
    950: '#000000',
  },
}
SCSS
$custom: #c262f5;
$custom-light: #d893f9;
$custom-dark: #000000;
JSON
{
  "hex": "#c262f5",
  "rgb": {
    "r": 194,
    "g": 98,
    "b": 245
  },
  "hsl": {
    "h": 279.184,
    "s": 88.024,
    "l": 67.255
  },
  "oklch": {
    "l": 0.67122,
    "c": 0.2205,
    "h": 312.1
  },
  "luminance": 0.26797
}

Semantic roles & 50–950 ramp

primary
#C262F5
secondary
#D2F1C2
accent
#E50150
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150D17
muted
#837E85

Preview Lab

Preview with #C262F5

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

Preview Lab → · Contrast checker → · Palette generator →

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