#C638AF#C638AF

#C638AF is a mid, highly saturated purple. Relative luminance 0.179; OKLCH L 59.3% C 0.217 H 335.3°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#C638AF
RGBrgb(198, 56, 175)
HSLhsl(310, 56%, 50%)
HSVhsv(310, 72%, 78%)
CMYKcmyk(0%, 71.7%, 11.6%, 22.4%)
CIE-LABlab(49.41, 67.47, -33.15)
CIE-LCHlch(49.41, 75.18, 333.83°)
OKLaboklab(59.26% 0.1971 -0.0905)
OKLCHoklch(59.26% 0.217 335.3)
XYZxyz(32.4412, 17.9321, 42.3018)
Luminance0.1793 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C638AF #38C64F
analogous
#9638C6 #C638AF #C63868
triadic
#C638AF #AFC638 #38AFC6
tetradic
#C638AF #C69638 #38C64F #3868C6
square
#C638AF #C69638 #38C64F #3868C6
split-complementary
#C638AF #68C638 #38C696
monochromatic
#671D5B #962B85 #C638AF #D467C2 #E297D5

Accessibility & contrast

On white

4.58
#C638AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#C638AF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C638AF
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C638AF#FFFFFF#000000##000000
##C638AF1.004.584.594.59
#FFFFFF4.581.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3868B2
Deuteranopia (green-blind)
#6A7DAC
Tritanopia (blue-blind)
#D0436F
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #c638af;
/* rgb */ color: rgb(198, 56, 175);
/* oklch */ color: oklch(59.3% 0.217 335.3);
Tailwind
colors: {
  custom: {
    50: '#db7cc7',
    500: '#c638af',
    950: '#000000',
  },
}
SCSS
$custom: #c638af;
$custom-light: #db7cc7;
$custom-dark: #000000;
JSON
{
  "hex": "#c638af",
  "rgb": {
    "r": 198,
    "g": 56,
    "b": 175
  },
  "hsl": {
    "h": 309.718,
    "s": 55.906,
    "l": 49.804
  },
  "oklch": {
    "l": 0.59255,
    "c": 0.21686,
    "h": 335.3
  },
  "luminance": 0.17929
}

Semantic roles & 50–950 ramp

primary
#C638AF
secondary
#8DCD97
accent
#DF6149
background
#FDF8FC
surface
#FBEFF8
border
#D4CAD1
text
#150A13
muted
#837C82

Preview Lab

Preview with #C638AF

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

Preview Lab → · Contrast checker → · Palette generator →

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