#C04BE1#C04BE1

#C04BE1 is a light, highly saturated purple. Relative luminance 0.217; OKLCH L 63.0% C 0.231 H 318.0°. Best body text is #000000 at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#C04BE1
RGBrgb(192, 75, 225)
HSLhsl(287, 71%, 59%)
HSVhsv(287, 67%, 88%)
CMYKcmyk(14.7%, 66.7%, 0%, 11.8%)
CIE-LABlab(53.68, 67.48, -55.23)
CIE-LCHlch(53.68, 87.20, 320.70°)
OKLaboklab(63.01% 0.1718 -0.1548)
OKLCHoklch(63.01% 0.231 318)
XYZxyz(37.8430, 21.6765, 73.4102)
Luminance0.2167 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C04BE1 #6CE14B
analogous
#754BE1 #C04BE1 #E14BB7
triadic
#C04BE1 #E1C04B #4BE1C0
tetradic
#C04BE1 #E1754B #6CE14B #4BB7E1
square
#C04BE1 #E1754B #6CE14B #4BB7E1
split-complementary
#C04BE1 #B7E14B #4BE175
monochromatic
#7C1998 #A722CD #C04BE1 #D27FEA #E5B4F2

Accessibility & contrast

On white

3.94
#C04BE1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.33
#C04BE1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C04BE1
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C04BE1#FFFFFF#000000##000000
##C04BE11.003.945.335.33
#FFFFFF3.941.0021.0021.00
#0000005.3321.001.001.00
##0000005.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079E5
Deuteranopia (green-blind)
#5184DD
Tritanopia (blue-blind)
#BF6790
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #c04be1;
/* rgb */ color: rgb(192, 75, 225);
/* oklch */ color: oklch(63.0% 0.231 318.0);
Tailwind
colors: {
  custom: {
    50: '#d786eb',
    500: '#c04be1',
    950: '#000000',
  },
}
SCSS
$custom: #c04be1;
$custom-light: #d786eb;
$custom-dark: #000000;
JSON
{
  "hex": "#c04be1",
  "rgb": {
    "r": 192,
    "g": 75,
    "b": 225
  },
  "hsl": {
    "h": 286.8,
    "s": 71.429,
    "l": 58.824
  },
  "oklch": {
    "l": 0.63009,
    "c": 0.23127,
    "h": 318
  },
  "luminance": 0.21675
}

Semantic roles & 50–950 ramp

primary
#C04BE1
secondary
#B3E1A6
accent
#EE3A61
background
#FDF8FE
surface
#FBF0FD
border
#D4CBD5
text
#150C16
muted
#837D84

Preview Lab

Preview with #C04BE1

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

Preview Lab → · Contrast checker → · Palette generator →

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