#C638C7#C638C7

#C638C7 is a mid, highly saturated purple. Relative luminance 0.190; OKLCH L 60.5% C 0.234 H 327.7°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#C638C7
RGBrgb(198, 56, 199)
HSLhsl(300, 56%, 50%)
HSVhsv(300, 72%, 78%)
CMYKcmyk(0.5%, 71.9%, 0%, 22%)
CIE-LABlab(50.64, 71.18, -45.19)
CIE-LCHlch(50.64, 84.31, 327.59°)
OKLaboklab(60.53% 0.1981 -0.1252)
OKLCHoklch(60.53% 0.234 327.7)
XYZxyz(35.0112, 18.9601, 55.8374)
Luminance0.1896 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C638C7 #39C738
analogous
#7E38C7 #C638C7 #C73881
triadic
#C638C7 #C7C638 #38C7C6
tetradic
#C638C7 #C77E38 #39C738 #3881C7
square
#C638C7 #C77E38 #39C738 #3881C7
split-complementary
#C638C7 #81C738 #38C77E
monochromatic
#671D67 #962B97 #C638C7 #D468D4 #E198E2

Accessibility & contrast

On white

4.38
#C638C7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#C638C7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C638C7
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C638C7#FFFFFF#000000##000000
##C638C71.004.384.794.79
#FFFFFF4.381.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#1A6DCB
Deuteranopia (green-blind)
#5E7FC3
Tritanopia (blue-blind)
#CC4E7D
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #c638c7;
/* rgb */ color: rgb(198, 56, 199);
/* oklch */ color: oklch(60.5% 0.234 327.7);
Tailwind
colors: {
  custom: {
    50: '#db7dd8',
    500: '#c638c7',
    950: '#000000',
  },
}
SCSS
$custom: #c638c7;
$custom-light: #db7dd8;
$custom-dark: #000000;
JSON
{
  "hex": "#c638c7",
  "rgb": {
    "r": 198,
    "g": 56,
    "b": 199
  },
  "hsl": {
    "h": 299.58,
    "s": 56.078,
    "l": 50
  },
  "oklch": {
    "l": 0.60534,
    "c": 0.23439,
    "h": 327.7
  },
  "luminance": 0.18958
}

Semantic roles & 50–950 ramp

primary
#C638C7
secondary
#8ECD8D
accent
#DF4849
background
#FDF8FD
surface
#FBEFFA
border
#D4CAD3
text
#150B14
muted
#837C83

Preview Lab

Preview with #C638C7

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

Preview Lab → · Contrast checker → · Palette generator →

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