#C04FF3#C04FF3

#C04FF3 is a light, highly saturated purple. Relative luminance 0.233; OKLCH L 64.6% C 0.243 H 313.3°. Best body text is #000000 at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#C04FF3
RGBrgb(192, 79, 243)
HSLhsl(281, 87%, 63%)
HSVhsv(281, 67%, 95%)
CMYKcmyk(21%, 67.5%, 0%, 4.7%)
CIE-LABlab(55.35, 69.35, -62.66)
CIE-LCHlch(55.35, 93.47, 317.90°)
OKLaboklab(64.55% 0.1665 -0.1766)
OKLCHoklch(64.55% 0.243 313.3)
XYZxyz(40.7091, 23.2707, 87.1239)
Luminance0.2327 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C04FF3 #82F34F
analogous
#6E4FF3 #C04FF3 #F34FD4
triadic
#C04FF3 #F3C04F #4FF3C0
tetradic
#C04FF3 #F36E4F #82F34F #4FD4F3
square
#C04FF3 #F36E4F #82F34F #4FD4F3
split-complementary
#C04FF3 #D4F34F #4FF36E
monochromatic
#850DBB #AB16EF #C04FF3 #D588F7 #E9C2FB

Accessibility & contrast

On white

3.71
#C04FF3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.65
#C04FF3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C04FF3
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C04FF3#FFFFFF#000000##000000
##C04FF31.003.715.655.65
#FFFFFF3.711.0021.0021.00
#0000005.6521.001.001.00
##0000005.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#007FF8
Deuteranopia (green-blind)
#4387EF
Tritanopia (blue-blind)
#BB719B
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #c04ff3;
/* rgb */ color: rgb(192, 79, 243);
/* oklch */ color: oklch(64.6% 0.243 313.3);
Tailwind
colors: {
  custom: {
    50: '#d788f8',
    500: '#c04ff3',
    950: '#000000',
  },
}
SCSS
$custom: #c04ff3;
$custom-light: #d788f8;
$custom-dark: #000000;
JSON
{
  "hex": "#c04ff3",
  "rgb": {
    "r": 192,
    "g": 79,
    "b": 243
  },
  "hsl": {
    "h": 281.341,
    "s": 87.234,
    "l": 63.137
  },
  "oklch": {
    "l": 0.64551,
    "c": 0.24271,
    "h": 313.3
  },
  "luminance": 0.23269
}

Semantic roles & 50–950 ramp

primary
#C04FF3
secondary
#C4ECB2
accent
#E40248
background
#FDF8FF
surface
#FBF0FF
border
#D4CBD7
text
#150C17
muted
#837D85

Preview Lab

Preview with #C04FF3

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

Preview Lab → · Contrast checker → · Palette generator →

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