#C738C5#C738C5

#C738C5 is a mid, highly saturated purple. Relative luminance 0.190; OKLCH L 60.6% C 0.233 H 328.6°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#C738C5
RGBrgb(199, 56, 197)
HSLhsl(301, 56%, 50%)
HSVhsv(301, 72%, 78%)
CMYKcmyk(0%, 71.9%, 1%, 22%)
CIE-LABlab(50.69, 71.07, -43.94)
CIE-LCHlch(50.69, 83.56, 328.27°)
OKLaboklab(60.57% 0.1992 -0.1216)
OKLCHoklch(60.57% 0.233 328.6)
XYZxyz(35.0450, 19.0043, 54.6349)
Luminance0.1900 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C738C5 #38C73A
analogous
#8138C7 #C738C5 #C7387E
triadic
#C738C5 #C5C738 #38C5C7
tetradic
#C738C5 #C78138 #38C73A #387EC7
square
#C738C5 #C78138 #38C73A #387EC7
split-complementary
#C738C5 #7EC738 #38C781
monochromatic
#671D66 #972B96 #C738C5 #D468D3 #E298E1

Accessibility & contrast

On white

4.37
#C738C5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#C738C5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C738C5
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C738C5#FFFFFF#000000##000000
##C738C51.004.374.804.80
#FFFFFF4.371.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#206DC9
Deuteranopia (green-blind)
#607FC1
Tritanopia (blue-blind)
#CE4D7B
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #c738c5;
/* rgb */ color: rgb(199, 56, 197);
/* oklch */ color: oklch(60.6% 0.233 328.6);
Tailwind
colors: {
  custom: {
    50: '#dc7dd7',
    500: '#c738c5',
    950: '#000000',
  },
}
SCSS
$custom: #c738c5;
$custom-light: #dc7dd7;
$custom-dark: #000000;
JSON
{
  "hex": "#c738c5",
  "rgb": {
    "r": 199,
    "g": 56,
    "b": 197
  },
  "hsl": {
    "h": 300.839,
    "s": 56.078,
    "l": 50
  },
  "oklch": {
    "l": 0.60567,
    "c": 0.23335,
    "h": 328.6
  },
  "luminance": 0.19002
}

Semantic roles & 50–950 ramp

primary
#C738C5
secondary
#8DCD8E
accent
#DF4B48
background
#FEF8FD
surface
#FCEFFA
border
#D5CAD3
text
#160B14
muted
#847C83

Preview Lab

Preview with #C738C5

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

Preview Lab → · Contrast checker → · Palette generator →

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