#C638B2#C638B2

#C638B2 is a mid, highly saturated purple. Relative luminance 0.180; OKLCH L 59.4% C 0.219 H 334.3°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#C638B2
RGBrgb(198, 56, 178)
HSLhsl(308, 56%, 50%)
HSVhsv(308, 72%, 78%)
CMYKcmyk(0%, 71.7%, 10.1%, 22.4%)
CIE-LABlab(49.56, 67.91, -34.69)
CIE-LCHlch(49.56, 76.26, 332.94°)
OKLaboklab(59.41% 0.1973 -0.0949)
OKLCHoklch(59.41% 0.219 334.3)
XYZxyz(32.7391, 18.0513, 43.8708)
Luminance0.1805 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C638B2 #38C64C
analogous
#9338C6 #C638B2 #C6386B
triadic
#C638B2 #B2C638 #38B2C6
tetradic
#C638B2 #C69338 #38C64C #386BC6
square
#C638B2 #C69338 #38C64C #386BC6
split-complementary
#C638B2 #6BC638 #38C693
monochromatic
#671D5C #962B87 #C638B2 #D467C5 #E297D7

Accessibility & contrast

On white

4.56
#C638B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#C638B2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C638B2
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C638B2#FFFFFF#000000##000000
##C638B21.004.564.614.61
#FFFFFF4.561.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3669B5
Deuteranopia (green-blind)
#697DAF
Tritanopia (blue-blind)
#CF4471
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #c638b2;
/* rgb */ color: rgb(198, 56, 178);
/* oklch */ color: oklch(59.4% 0.219 334.3);
Tailwind
colors: {
  custom: {
    50: '#db7cc9',
    500: '#c638b2',
    950: '#000000',
  },
}
SCSS
$custom: #c638b2;
$custom-light: #db7cc9;
$custom-dark: #000000;
JSON
{
  "hex": "#c638b2",
  "rgb": {
    "r": 198,
    "g": 56,
    "b": 178
  },
  "hsl": {
    "h": 308.451,
    "s": 55.906,
    "l": 49.804
  },
  "oklch": {
    "l": 0.59406,
    "c": 0.21896,
    "h": 334.3
  },
  "luminance": 0.18048
}

Semantic roles & 50–950 ramp

primary
#C638B2
secondary
#8DCD96
accent
#DF5E49
background
#FDF8FC
surface
#FBEFF8
border
#D4CAD1
text
#150A13
muted
#837C82

Preview Lab

Preview with #C638B2

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

Preview Lab → · Contrast checker → · Palette generator →

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