#C04FBE#C04FBE

#C04FBE is a mid, vivid purple. Relative luminance 0.205; OKLCH L 61.5% C 0.195 H 328.3°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#C04FBE
RGBrgb(192, 79, 190)
HSLhsl(301, 47%, 53%)
HSVhsv(301, 59%, 75%)
CMYKcmyk(0%, 58.9%, 1%, 24.7%)
CIE-LABlab(52.42, 59.43, -37.24)
CIE-LCHlch(52.42, 70.14, 327.93°)
OKLaboklab(61.49% 0.1662 -0.1026)
OKLCHoklch(61.49% 0.195 328.3)
XYZxyz(33.8280, 20.5183, 50.8839)
Luminance0.2052 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C04FBE #4FC051
analogous
#894FC0 #C04FBE #C04F85
triadic
#C04FBE #BEC04F #4FBEC0
tetradic
#C04FBE #C0894F #4FC051 #4F85C0
square
#C04FBE #C0894F #4FC051 #4F85C0
split-complementary
#C04FBE #85C04F #4FC089
monochromatic
#6D276C #9A3799 #C04FBE #D07CCF #E0A9DF

Accessibility & contrast

On white

4.12
#C04FBE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.10
#C04FBE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C04FBE
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C04FBE#FFFFFF#000000##000000
##C04FBE1.004.125.105.10
#FFFFFF4.121.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4473C1
Deuteranopia (green-blind)
#6A82BB
Tritanopia (blue-blind)
#C65C7F
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #c04fbe;
/* rgb */ color: rgb(192, 79, 190);
/* oklch */ color: oklch(61.5% 0.195 328.3);
Tailwind
colors: {
  custom: {
    50: '#d687d2',
    500: '#c04fbe',
    950: '#000000',
  },
}
SCSS
$custom: #c04fbe;
$custom-light: #d687d2;
$custom-dark: #000000;
JSON
{
  "hex": "#c04fbe",
  "rgb": {
    "r": 192,
    "g": 79,
    "b": 190
  },
  "hsl": {
    "h": 301.062,
    "s": 47.28,
    "l": 53.137
  },
  "oklch": {
    "l": 0.61488,
    "c": 0.19532,
    "h": 328.3
  },
  "luminance": 0.20516
}

Semantic roles & 50–950 ramp

primary
#C04FBE
secondary
#9DCE9E
accent
#D75351
background
#FDF8FC
surface
#FBF0F9
border
#D4CBD2
text
#150C14
muted
#837D82

Preview Lab

Preview with #C04FBE

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

Preview Lab → · Contrast checker → · Palette generator →

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