#C04CF7#C04CF7

#C04CF7 is a light, highly saturated purple. Relative luminance 0.231; OKLCH L 64.5% C 0.250 H 312.6°. Best body text is #000000 at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#C04CF7
RGBrgb(192, 76, 247)
HSLhsl(281, 91%, 63%)
HSVhsv(281, 69%, 97%)
CMYKcmyk(22.3%, 69.2%, 0%, 3.1%)
CIE-LABlab(55.17, 71.37, -65.18)
CIE-LCHlch(55.17, 96.66, 317.59°)
OKLaboklab(64.5% 0.1691 -0.184)
OKLCHoklch(64.5% 0.25 312.6)
XYZxyz(41.1082, 23.0919, 90.2694)
Luminance0.2309 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C04CF7 #83F74C
analogous
#6A4CF7 #C04CF7 #F74CD8
triadic
#C04CF7 #F7C04C #4CF7C0
tetradic
#C04CF7 #F76A4C #83F74C #4CD8F7
square
#C04CF7 #F76A4C #83F74C #4CD8F7
split-complementary
#C04CF7 #D8F74C #4CF76A
monochromatic
#8509C0 #AB11F4 #C04CF7 #D587FA #E9C1FC

Accessibility & contrast

On white

3.74
#C04CF7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.62
#C04CF7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C04CF7
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C04CF7#FFFFFF#000000##000000
##C04CF71.003.745.625.62
#FFFFFF3.741.0021.0021.00
#0000005.6221.001.001.00
##0000005.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#007EFC
Deuteranopia (green-blind)
#3B87F3
Tritanopia (blue-blind)
#BA709D
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #c04cf7;
/* rgb */ color: rgb(192, 76, 247);
/* oklch */ color: oklch(64.5% 0.250 312.6);
Tailwind
colors: {
  custom: {
    50: '#d887fb',
    500: '#c04cf7',
    950: '#000000',
  },
}
SCSS
$custom: #c04cf7;
$custom-light: #d887fb;
$custom-dark: #000000;
JSON
{
  "hex": "#c04cf7",
  "rgb": {
    "r": 192,
    "g": 76,
    "b": 247
  },
  "hsl": {
    "h": 280.702,
    "s": 91.444,
    "l": 63.333
  },
  "oklch": {
    "l": 0.645,
    "c": 0.24994,
    "h": 312.6
  },
  "luminance": 0.23091
}

Semantic roles & 50–950 ramp

primary
#C04CF7
secondary
#C5EEB1
accent
#E6004A
background
#FDF8FF
surface
#FBF0FF
border
#D4CBD7
text
#150C17
muted
#837D85

Preview Lab

Preview with #C04CF7

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

Preview Lab → · Contrast checker → · Palette generator →

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