#C738B2#C738B2

#C738B2 is a mid, highly saturated purple. Relative luminance 0.182; OKLCH L 59.6% C 0.220 H 334.6°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#C738B2
RGBrgb(199, 56, 178)
HSLhsl(309, 56%, 50%)
HSVhsv(309, 72%, 78%)
CMYKcmyk(0%, 71.9%, 10.6%, 22%)
CIE-LABlab(49.72, 68.15, -34.42)
CIE-LCHlch(49.72, 76.34, 333.20°)
OKLaboklab(59.56% 0.1983 -0.0941)
OKLCHoklch(59.56% 0.22 334.6)
XYZxyz(33.0036, 18.1877, 43.8832)
Luminance0.1819 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C738B2 #38C74D
analogous
#9438C7 #C738B2 #C7386B
triadic
#C738B2 #B2C738 #38B2C7
tetradic
#C738B2 #C79438 #38C74D #386BC7
square
#C738B2 #C79438 #38C74D #386BC7
split-complementary
#C738B2 #6BC738 #38C794
monochromatic
#671D5D #972B87 #C738B2 #D468C4 #E298D7

Accessibility & contrast

On white

4.53
#C738B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#C738B2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C738B2
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C738B2#FFFFFF#000000##000000
##C738B21.004.534.644.64
#FFFFFF4.531.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c738b2;
/* rgb */ color: rgb(199, 56, 178);
/* oklch */ color: oklch(59.6% 0.220 334.6);
Tailwind
colors: {
  custom: {
    50: '#dc7cc9',
    500: '#c738b2',
    950: '#000000',
  },
}
SCSS
$custom: #c738b2;
$custom-light: #dc7cc9;
$custom-dark: #000000;
JSON
{
  "hex": "#c738b2",
  "rgb": {
    "r": 199,
    "g": 56,
    "b": 178
  },
  "hsl": {
    "h": 308.811,
    "s": 56.078,
    "l": 50
  },
  "oklch": {
    "l": 0.59556,
    "c": 0.21951,
    "h": 334.6
  },
  "luminance": 0.18185
}

Semantic roles & 50–950 ramp

primary
#C738B2
secondary
#8DCD97
accent
#DF5F48
background
#FEF8FC
surface
#FCEFF8
border
#D5CAD1
text
#150B13
muted
#847C82

Preview Lab

Preview with #C738B2

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

Preview Lab → · Contrast checker → · Palette generator →

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