#C738C3#C738C3

#C738C3 is a mid, highly saturated purple. Relative luminance 0.189; OKLCH L 60.5% C 0.232 H 329.2°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#C738C3
RGBrgb(199, 56, 195)
HSLhsl(302, 56%, 50%)
HSVhsv(302, 72%, 78%)
CMYKcmyk(0%, 71.9%, 2%, 22%)
CIE-LABlab(50.59, 70.75, -42.95)
CIE-LCHlch(50.59, 82.77, 328.74°)
OKLaboklab(60.46% 0.1991 -0.1187)
OKLCHoklch(60.46% 0.232 329.2)
XYZxyz(34.8174, 18.9132, 53.4360)
Luminance0.1891 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C738C3 #38C73C
analogous
#8338C7 #C738C3 #C7387C
triadic
#C738C3 #C3C738 #38C3C7
tetradic
#C738C3 #C78338 #38C73C #387CC7
square
#C738C3 #C78338 #38C73C #387CC7
split-complementary
#C738C3 #7CC738 #38C783
monochromatic
#671D65 #972B94 #C738C3 #D468D1 #E298E0

Accessibility & contrast

On white

4.39
#C738C3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#C738C3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C738C3
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C738C3#FFFFFF#000000##000000
##C738C31.004.394.784.78
#FFFFFF4.391.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#236CC7
Deuteranopia (green-blind)
#617FBF
Tritanopia (blue-blind)
#CE4C7A
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #c738c3;
/* rgb */ color: rgb(199, 56, 195);
/* oklch */ color: oklch(60.5% 0.232 329.2);
Tailwind
colors: {
  custom: {
    50: '#dc7cd6',
    500: '#c738c3',
    950: '#000000',
  },
}
SCSS
$custom: #c738c3;
$custom-light: #dc7cd6;
$custom-dark: #000000;
JSON
{
  "hex": "#c738c3",
  "rgb": {
    "r": 199,
    "g": 56,
    "b": 195
  },
  "hsl": {
    "h": 301.678,
    "s": 56.078,
    "l": 50
  },
  "oklch": {
    "l": 0.60456,
    "c": 0.23185,
    "h": 329.2
  },
  "luminance": 0.18911
}

Semantic roles & 50–950 ramp

primary
#C738C3
secondary
#8DCD8F
accent
#DF4D48
background
#FEF8FD
surface
#FCEFFA
border
#D5CAD3
text
#160B14
muted
#847C83

Preview Lab

Preview with #C738C3

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

Preview Lab → · Contrast checker → · Palette generator →

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