#C738C1#C738C1

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

Color values

HEX#C738C1
RGBrgb(199, 56, 193)
HSLhsl(303, 56%, 50%)
HSVhsv(303, 72%, 78%)
CMYKcmyk(0%, 71.9%, 3%, 22%)
CIE-LABlab(50.48, 70.44, -41.96)
CIE-LCHlch(50.48, 81.99, 329.21°)
OKLaboklab(60.35% 0.1991 -0.1159)
OKLCHoklch(60.35% 0.23 329.8)
XYZxyz(34.5928, 18.8234, 52.2530)
Luminance0.1882 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C738C1 #38C73E
analogous
#8538C7 #C738C1 #C7387A
triadic
#C738C1 #C1C738 #38C1C7
tetradic
#C738C1 #C78538 #38C73E #387AC7
square
#C738C1 #C78538 #38C73E #387AC7
split-complementary
#C738C1 #7AC738 #38C785
monochromatic
#671D64 #972B93 #C738C1 #D468D0 #E298DF

Accessibility & contrast

On white

4.41
#C738C1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#C738C1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C738C1
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C738C1#FFFFFF#000000##000000
##C738C11.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#266CC5
Deuteranopia (green-blind)
#627FBD
Tritanopia (blue-blind)
#CE4B79
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #c738c1;
/* rgb */ color: rgb(199, 56, 193);
/* oklch */ color: oklch(60.3% 0.230 329.8);
Tailwind
colors: {
  custom: {
    50: '#dc7cd4',
    500: '#c738c1',
    950: '#000000',
  },
}
SCSS
$custom: #c738c1;
$custom-light: #dc7cd4;
$custom-dark: #000000;
JSON
{
  "hex": "#c738c1",
  "rgb": {
    "r": 199,
    "g": 56,
    "b": 193
  },
  "hsl": {
    "h": 302.517,
    "s": 56.078,
    "l": 50
  },
  "oklch": {
    "l": 0.60346,
    "c": 0.23037,
    "h": 329.8
  },
  "luminance": 0.18821
}

Semantic roles & 50–950 ramp

primary
#C738C1
secondary
#8DCD90
accent
#DF4F48
background
#FEF8FD
surface
#FCEFFA
border
#D5CAD3
text
#150B14
muted
#847C83

Preview Lab

Preview with #C738C1

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

Preview Lab → · Contrast checker → · Palette generator →

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