#C04BF0#C04BF0

#C04BF0 is a light, highly saturated purple. Relative luminance 0.225; OKLCH L 63.9% C 0.245 H 314.3°. Best body text is #000000 at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#C04BF0
RGBrgb(192, 75, 240)
HSLhsl(283, 85%, 62%)
HSVhsv(283, 69%, 94%)
CMYKcmyk(20%, 68.7%, 0%, 5.9%)
CIE-LABlab(54.59, 70.38, -62.21)
CIE-LCHlch(54.59, 93.93, 318.53°)
OKLaboklab(63.94% 0.1708 -0.1753)
OKLCHoklch(63.94% 0.245 314.3)
XYZxyz(39.9798, 22.5312, 84.6641)
Luminance0.2253 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C04BF0 #7BF04B
analogous
#6E4BF0 #C04BF0 #F04BCE
triadic
#C04BF0 #F0C04B #4BF0C0
tetradic
#C04BF0 #F06E4B #7BF04B #4BCEF0
square
#C04BF0 #F06E4B #7BF04B #4BCEF0
split-complementary
#C04BF0 #CEF04B #4BF06E
monochromatic
#820FB2 #AC14EA #C04BF0 #D483F5 #E8BCF9

Accessibility & contrast

On white

3.81
#C04BF0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.51
#C04BF0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C04BF0
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C04BF0#FFFFFF#000000##000000
##C04BF01.003.815.515.51
#FFFFFF3.811.0021.0021.00
#0000005.5121.001.001.00
##0000005.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CF5
Deuteranopia (green-blind)
#4385EC
Tritanopia (blue-blind)
#BC6D98
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #c04bf0;
/* rgb */ color: rgb(192, 75, 240);
/* oklch */ color: oklch(63.9% 0.245 314.3);
Tailwind
colors: {
  custom: {
    50: '#d786f6',
    500: '#c04bf0',
    950: '#000000',
  },
}
SCSS
$custom: #c04bf0;
$custom-light: #d786f6;
$custom-dark: #000000;
JSON
{
  "hex": "#c04bf0",
  "rgb": {
    "r": 192,
    "g": 75,
    "b": 240
  },
  "hsl": {
    "h": 282.545,
    "s": 84.615,
    "l": 61.765
  },
  "oklch": {
    "l": 0.63945,
    "c": 0.24474,
    "h": 314.3
  },
  "luminance": 0.2253
}

Semantic roles & 50–950 ramp

primary
#C04BF0
secondary
#BFEAAD
accent
#E10445
background
#FDF8FF
surface
#FBF0FF
border
#D4CBD7
text
#150C17
muted
#837D85

Preview Lab

Preview with #C04BF0

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

Preview Lab → · Contrast checker → · Palette generator →

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