#C738BD#C738BD

#C738BD is a mid, highly saturated purple. Relative luminance 0.186; OKLCH L 60.1% C 0.227 H 331.0°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#C738BD
RGBrgb(199, 56, 189)
HSLhsl(304, 56%, 50%)
HSVhsv(304, 72%, 78%)
CMYKcmyk(0%, 71.9%, 5%, 22%)
CIE-LABlab(50.27, 69.81, -39.97)
CIE-LCHlch(50.27, 80.44, 330.21°)
OKLaboklab(60.13% 0.199 -0.1101)
OKLCHoklch(60.13% 0.227 331)
XYZxyz(34.1526, 18.6473, 49.9348)
Luminance0.1865 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C738BD #38C742
analogous
#8A38C7 #C738BD #C73875
triadic
#C738BD #BDC738 #38BDC7
tetradic
#C738BD #C78A38 #38C742 #3875C7
square
#C738BD #C78A38 #38C742 #3875C7
split-complementary
#C738BD #75C738 #38C78A
monochromatic
#671D62 #972B90 #C738BD #D468CD #E298DD

Accessibility & contrast

On white

4.44
#C738BD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#C738BD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C738BD
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C738BD#FFFFFF#000000##000000
##C738BD1.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#2B6BC1
Deuteranopia (green-blind)
#647FB9
Tritanopia (blue-blind)
#CF4977
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #c738bd;
/* rgb */ color: rgb(199, 56, 189);
/* oklch */ color: oklch(60.1% 0.227 331.0);
Tailwind
colors: {
  custom: {
    50: '#dc7cd1',
    500: '#c738bd',
    950: '#000000',
  },
}
SCSS
$custom: #c738bd;
$custom-light: #dc7cd1;
$custom-dark: #000000;
JSON
{
  "hex": "#c738bd",
  "rgb": {
    "r": 199,
    "g": 56,
    "b": 189
  },
  "hsl": {
    "h": 304.196,
    "s": 56.078,
    "l": 50
  },
  "oklch": {
    "l": 0.6013,
    "c": 0.22742,
    "h": 331
  },
  "luminance": 0.18645
}

Semantic roles & 50–950 ramp

primary
#C738BD
secondary
#8DCD92
accent
#DF5348
background
#FEF8FC
surface
#FCEFF9
border
#D5CAD2
text
#150B14
muted
#847C82

Preview Lab

Preview with #C738BD

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

Preview Lab → · Contrast checker → · Palette generator →

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