#C638C3#C638C3

#C638C3 is a mid, highly saturated purple. Relative luminance 0.188; OKLCH L 60.3% C 0.231 H 328.9°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#C638C3
RGBrgb(198, 56, 195)
HSLhsl(301, 56%, 50%)
HSVhsv(301, 72%, 78%)
CMYKcmyk(0%, 71.7%, 1.5%, 22.4%)
CIE-LABlab(50.42, 70.53, -43.22)
CIE-LCHlch(50.42, 82.72, 328.50°)
OKLaboklab(60.31% 0.1981 -0.1195)
OKLCHoklch(60.31% 0.231 328.9)
XYZxyz(34.5529, 18.7768, 53.4236)
Luminance0.1877 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C638C3 #38C63B
analogous
#8238C6 #C638C3 #C6387C
triadic
#C638C3 #C3C638 #38C3C6
tetradic
#C638C3 #C68238 #38C63B #387CC6
square
#C638C3 #C68238 #38C63B #387CC6
split-complementary
#C638C3 #7CC638 #38C682
monochromatic
#671D65 #962B94 #C638C3 #D467D2 #E297E0

Accessibility & contrast

On white

4.42
#C638C3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#C638C3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C638C3
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C638C3#FFFFFF#000000##000000
##C638C31.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#226CC7
Deuteranopia (green-blind)
#607FBF
Tritanopia (blue-blind)
#CD4C7A
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #c638c3;
/* rgb */ color: rgb(198, 56, 195);
/* oklch */ color: oklch(60.3% 0.231 328.9);
Tailwind
colors: {
  custom: {
    50: '#db7cd6',
    500: '#c638c3',
    950: '#000000',
  },
}
SCSS
$custom: #c638c3;
$custom-light: #db7cd6;
$custom-dark: #000000;
JSON
{
  "hex": "#c638c3",
  "rgb": {
    "r": 198,
    "g": 56,
    "b": 195
  },
  "hsl": {
    "h": 301.268,
    "s": 55.906,
    "l": 49.804
  },
  "oklch": {
    "l": 0.6031,
    "c": 0.23137,
    "h": 328.9
  },
  "luminance": 0.18774
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C638C3

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

Preview Lab → · Contrast checker → · Palette generator →

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