#C738C2#C738C2

#C738C2 is a mid, highly saturated purple. Relative luminance 0.189; OKLCH L 60.4% C 0.231 H 329.5°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#C738C2
RGBrgb(199, 56, 194)
HSLhsl(302, 56%, 50%)
HSVhsv(302, 72%, 78%)
CMYKcmyk(0%, 71.9%, 2.5%, 22%)
CIE-LABlab(50.53, 70.59, -42.46)
CIE-LCHlch(50.53, 82.38, 328.97°)
OKLaboklab(60.4% 0.1991 -0.1173)
OKLCHoklch(60.4% 0.231 329.5)
XYZxyz(34.7047, 18.8681, 52.8425)
Luminance0.1887 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C738C2 #38C73D
analogous
#8538C7 #C738C2 #C7387A
triadic
#C738C2 #C2C738 #38C2C7
tetradic
#C738C2 #C78538 #38C73D #387AC7
square
#C738C2 #C78538 #38C73D #387AC7
split-complementary
#C738C2 #7AC738 #38C785
monochromatic
#671D65 #972B93 #C738C2 #D468D1 #E298DF

Accessibility & contrast

On white

4.40
#C738C2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#C738C2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C738C2
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C738C2#FFFFFF#000000##000000
##C738C21.004.404.774.77
#FFFFFF4.401.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#256CC6
Deuteranopia (green-blind)
#627FBE
Tritanopia (blue-blind)
#CE4C7A
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #c738c2;
/* rgb */ color: rgb(199, 56, 194);
/* oklch */ color: oklch(60.4% 0.231 329.5);
Tailwind
colors: {
  custom: {
    50: '#dc7cd5',
    500: '#c738c2',
    950: '#000000',
  },
}
SCSS
$custom: #c738c2;
$custom-light: #dc7cd5;
$custom-dark: #000000;
JSON
{
  "hex": "#c738c2",
  "rgb": {
    "r": 199,
    "g": 56,
    "b": 194
  },
  "hsl": {
    "h": 302.098,
    "s": 56.078,
    "l": 50
  },
  "oklch": {
    "l": 0.60401,
    "c": 0.23111,
    "h": 329.5
  },
  "luminance": 0.18866
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C738C2

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

Preview Lab → · Contrast checker → · Palette generator →

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