#C262F9#C262F9

#C262F9 is a light, highly saturated violet. Relative luminance 0.270; OKLCH L 67.4% C 0.225 H 311.1°. Best body text is #000000 at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#C262F9
RGBrgb(194, 98, 249)
HSLhsl(278, 93%, 68%)
HSVhsv(278, 61%, 98%)
CMYKcmyk(22.1%, 60.6%, 0%, 2.4%)
CIE-LABlab(59.02, 62.60, -60.10)
CIE-LCHlch(59.02, 86.77, 316.17°)
OKLaboklab(67.36% 0.1477 -0.1691)
OKLCHoklch(67.36% 0.225 311.1)
XYZxyz(43.7115, 27.0452, 92.5217)
Luminance0.2704 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C262F9 #99F962
analogous
#7662F9 #C262F9 #F962E4
triadic
#C262F9 #F9C262 #62F9C2
tetradic
#C262F9 #F97662 #99F962 #62E4F9
square
#C262F9 #F97662 #99F962 #62E4F9
split-complementary
#C262F9 #E4F962 #62F976
monochromatic
#8D08D8 #AB27F7 #C262F9 #D99DFB #F0D8FE

Accessibility & contrast

On white

3.28
#C262F9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.41
#C262F9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C262F9
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C262F9#FFFFFF#000000##000000
##C262F91.003.286.416.41
#FFFFFF3.281.0021.0021.00
#0000006.4121.001.001.00
##0000006.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#2389FE
Deuteranopia (green-blind)
#5390F5
Tritanopia (blue-blind)
#BB7FA5
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #c262f9;
/* rgb */ color: rgb(194, 98, 249);
/* oklch */ color: oklch(67.4% 0.225 311.1);
Tailwind
colors: {
  custom: {
    50: '#d893fc',
    500: '#c262f9',
    950: '#000000',
  },
}
SCSS
$custom: #c262f9;
$custom-light: #d893fc;
$custom-dark: #000000;
JSON
{
  "hex": "#c262f9",
  "rgb": {
    "r": 194,
    "g": 98,
    "b": 249
  },
  "hsl": {
    "h": 278.146,
    "s": 92.638,
    "l": 68.039
  },
  "oklch": {
    "l": 0.67362,
    "c": 0.22453,
    "h": 311.1
  },
  "luminance": 0.27044
}

Semantic roles & 50–950 ramp

primary
#C262F9
secondary
#D5F2C4
accent
#E60054
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150D17
muted
#837E85

Preview Lab

Preview with #C262F9

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

Preview Lab → · Contrast checker → · Palette generator →

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