#C262F4#C262F4

#C262F4 is a light, highly saturated violet. Relative luminance 0.267; OKLCH L 67.1% C 0.220 H 312.3°. Best body text is #000000 at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#C262F4
RGBrgb(194, 98, 244)
HSLhsl(279, 87%, 67%)
HSVhsv(279, 60%, 96%)
CMYKcmyk(20.5%, 59.8%, 0%, 4.3%)
CIE-LABlab(58.73, 61.55, -57.78)
CIE-LCHlch(58.73, 84.42, 316.81°)
OKLaboklab(67.06% 0.1477 -0.1624)
OKLCHoklch(67.06% 0.22 312.3)
XYZxyz(42.9420, 26.7374, 88.4691)
Luminance0.2674 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C262F4 #94F462
analogous
#7962F4 #C262F4 #F462DD
triadic
#C262F4 #F4C262 #62F4C2
tetradic
#C262F4 #F47962 #94F462 #62DDF4
square
#C262F4 #F47962 #94F462 #62DDF4
split-complementary
#C262F4 #DDF462 #62F479
monochromatic
#8C0ECD #AC29F0 #C262F4 #D89BF8 #EED4FC

Accessibility & contrast

On white

3.31
#C262F4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.35
#C262F4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C262F4
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C262F4#FFFFFF#000000##000000
##C262F41.003.316.356.35
#FFFFFF3.311.0021.0021.00
#0000006.3521.001.001.00
##0000006.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#2C88F9
Deuteranopia (green-blind)
#588FF0
Tritanopia (blue-blind)
#BD7DA2
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #c262f4;
/* rgb */ color: rgb(194, 98, 244);
/* oklch */ color: oklch(67.1% 0.220 312.3);
Tailwind
colors: {
  custom: {
    50: '#d893f8',
    500: '#c262f4',
    950: '#000000',
  },
}
SCSS
$custom: #c262f4;
$custom-light: #d893f8;
$custom-dark: #000000;
JSON
{
  "hex": "#c262f4",
  "rgb": {
    "r": 194,
    "g": 98,
    "b": 244
  },
  "hsl": {
    "h": 279.452,
    "s": 86.905,
    "l": 67.059
  },
  "oklch": {
    "l": 0.67063,
    "c": 0.2195,
    "h": 312.3
  },
  "luminance": 0.26736
}

Semantic roles & 50–950 ramp

primary
#C262F4
secondary
#D2F0C2
accent
#E3024F
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150D17
muted
#837E85

Preview Lab

Preview with #C262F4

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

Preview Lab → · Contrast checker → · Palette generator →

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