#C462F7#C462F7

#C462F7 is a light, highly saturated violet. Relative luminance 0.272; OKLCH L 67.5% C 0.223 H 312.3°. Best body text is #000000 at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#C462F7
RGBrgb(196, 98, 247)
HSLhsl(279, 90%, 68%)
HSVhsv(279, 60%, 97%)
CMYKcmyk(20.6%, 60.3%, 0%, 3.1%)
CIE-LABlab(59.15, 62.64, -58.76)
CIE-LCHlch(59.15, 85.89, 316.83°)
OKLaboklab(67.47% 0.1501 -0.1652)
OKLCHoklch(67.47% 0.223 312.3)
XYZxyz(43.9181, 27.1876, 90.9119)
Luminance0.2719 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C462F7 #95F762
analogous
#7962F7 #C462F7 #F762E0
triadic
#C462F7 #F7C462 #62F7C4
tetradic
#C462F7 #F77962 #95F762 #62E0F7
square
#C462F7 #F77962 #95F762 #62E0F7
split-complementary
#C462F7 #E0F762 #62F779
monochromatic
#8F0BD4 #AE28F4 #C462F7 #DA9CFA #F0D6FD

Accessibility & contrast

On white

3.26
#C462F7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.44
#C462F7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C462F7
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C462F7#FFFFFF#000000##000000
##C462F71.003.266.446.44
#FFFFFF3.261.0021.0021.00
#0000006.4421.001.001.00
##0000006.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#2989FC
Deuteranopia (green-blind)
#5790F3
Tritanopia (blue-blind)
#BE7EA4
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #c462f7;
/* rgb */ color: rgb(196, 98, 247);
/* oklch */ color: oklch(67.5% 0.223 312.3);
Tailwind
colors: {
  custom: {
    50: '#d994fa',
    500: '#c462f7',
    950: '#000000',
  },
}
SCSS
$custom: #c462f7;
$custom-light: #d994fa;
$custom-dark: #000000;
JSON
{
  "hex": "#c462f7",
  "rgb": {
    "r": 196,
    "g": 98,
    "b": 247
  },
  "hsl": {
    "h": 279.463,
    "s": 90.303,
    "l": 67.647
  },
  "oklch": {
    "l": 0.67473,
    "c": 0.2232,
    "h": 312.3
  },
  "luminance": 0.27187
}

Semantic roles & 50–950 ramp

primary
#C462F7
secondary
#D3F2C3
accent
#E6004F
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150D17
muted
#837E85

Preview Lab

Preview with #C462F7

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

Preview Lab → · Contrast checker → · Palette generator →

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