#C638C2#C638C2

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

Color values

HEX#C638C2
RGBrgb(198, 56, 194)
HSLhsl(302, 56%, 50%)
HSVhsv(302, 72%, 78%)
CMYKcmyk(0%, 71.7%, 2%, 22.4%)
CIE-LABlab(50.37, 70.38, -42.72)
CIE-LCHlch(50.37, 82.33, 328.74°)
OKLaboklab(60.26% 0.1981 -0.1181)
OKLCHoklch(60.26% 0.231 329.2)
XYZxyz(34.4402, 18.7317, 52.8301)
Luminance0.1873 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C638C2 #38C63C
analogous
#8338C6 #C638C2 #C6387B
triadic
#C638C2 #C2C638 #38C2C6
tetradic
#C638C2 #C68338 #38C63C #387BC6
square
#C638C2 #C68338 #38C63C #387BC6
split-complementary
#C638C2 #7BC638 #38C683
monochromatic
#671D65 #962B93 #C638C2 #D467D1 #E297DF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C638C2#FFFFFF#000000##000000
##C638C21.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)
#236CC6
Deuteranopia (green-blind)
#617EBE
Tritanopia (blue-blind)
#CD4C7A
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #c638c2;
/* rgb */ color: rgb(198, 56, 194);
/* oklch */ color: oklch(60.3% 0.231 329.2);
Tailwind
colors: {
  custom: {
    50: '#db7cd5',
    500: '#c638c2',
    950: '#000000',
  },
}
SCSS
$custom: #c638c2;
$custom-light: #db7cd5;
$custom-dark: #000000;
JSON
{
  "hex": "#c638c2",
  "rgb": {
    "r": 198,
    "g": 56,
    "b": 194
  },
  "hsl": {
    "h": 301.69,
    "s": 55.906,
    "l": 49.804
  },
  "oklch": {
    "l": 0.60255,
    "c": 0.23062,
    "h": 329.2
  },
  "luminance": 0.18729
}

Semantic roles & 50–950 ramp

primary
#C638C2
secondary
#8DCD8F
accent
#DF4D49
background
#FDF8FD
surface
#FBEFFA
border
#D4CAD3
text
#150B14
muted
#837C83

Preview Lab

Preview with #C638C2

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

Preview Lab → · Contrast checker → · Palette generator →

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