#C638C4#C638C4

#C638C4 is a mid, highly saturated purple. Relative luminance 0.188; OKLCH L 60.4% C 0.232 H 328.6°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#C638C4
RGBrgb(198, 56, 196)
HSLhsl(301, 56%, 50%)
HSVhsv(301, 72%, 78%)
CMYKcmyk(0%, 71.7%, 1%, 22.4%)
CIE-LABlab(50.48, 70.69, -43.71)
CIE-LCHlch(50.48, 83.12, 328.27°)
OKLaboklab(60.37% 0.1981 -0.121)
OKLCHoklch(60.37% 0.232 328.6)
XYZxyz(34.6663, 18.8222, 54.0210)
Luminance0.1882 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C638C4 #38C63A
analogous
#8138C6 #C638C4 #C6387D
triadic
#C638C4 #C4C638 #38C4C6
tetradic
#C638C4 #C68138 #38C63A #387DC6
square
#C638C4 #C68138 #38C63A #387DC6
split-complementary
#C638C4 #7DC638 #38C681
monochromatic
#671D66 #962B95 #C638C4 #D467D3 #E297E0

Accessibility & contrast

On white

4.41
#C638C4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#C638C4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C638C4
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C638C4#FFFFFF#000000##000000
##C638C41.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#206CC8
Deuteranopia (green-blind)
#5F7FC0
Tritanopia (blue-blind)
#CD4D7B
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #c638c4;
/* rgb */ color: rgb(198, 56, 196);
/* oklch */ color: oklch(60.4% 0.232 328.6);
Tailwind
colors: {
  custom: {
    50: '#db7cd6',
    500: '#c638c4',
    950: '#000000',
  },
}
SCSS
$custom: #c638c4;
$custom-light: #db7cd6;
$custom-dark: #000000;
JSON
{
  "hex": "#c638c4",
  "rgb": {
    "r": 198,
    "g": 56,
    "b": 196
  },
  "hsl": {
    "h": 300.845,
    "s": 55.906,
    "l": 49.804
  },
  "oklch": {
    "l": 0.60366,
    "c": 0.23212,
    "h": 328.6
  },
  "luminance": 0.1882
}

Semantic roles & 50–950 ramp

primary
#C638C4
secondary
#8DCD8E
accent
#DF4B49
background
#FDF8FD
surface
#FBEFFA
border
#D4CAD3
text
#150B14
muted
#837C83

Preview Lab

Preview with #C638C4

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

Preview Lab → · Contrast checker → · Palette generator →

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