#C738BF#C738BF

#C738BF is a mid, highly saturated purple. Relative luminance 0.187; OKLCH L 60.2% C 0.229 H 330.4°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#C738BF
RGBrgb(199, 56, 191)
HSLhsl(303, 56%, 50%)
HSVhsv(303, 72%, 78%)
CMYKcmyk(0%, 71.9%, 4%, 22%)
CIE-LABlab(50.38, 70.12, -40.97)
CIE-LCHlch(50.38, 81.21, 329.70°)
OKLaboklab(60.24% 0.1991 -0.113)
OKLCHoklch(60.24% 0.229 330.4)
XYZxyz(34.3712, 18.7347, 51.0860)
Luminance0.1873 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C738BF #38C740
analogous
#8838C7 #C738BF #C73877
triadic
#C738BF #BFC738 #38BFC7
tetradic
#C738BF #C78838 #38C740 #3877C7
square
#C738BF #C78838 #38C740 #3877C7
split-complementary
#C738BF #77C738 #38C788
monochromatic
#671D63 #972B91 #C738BF #D468CE #E298DE

Accessibility & contrast

On white

4.42
#C738BF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#C738BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C738BF
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C738BF#FFFFFF#000000##000000
##C738BF1.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#296BC3
Deuteranopia (green-blind)
#637FBB
Tritanopia (blue-blind)
#CF4A78
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #c738bf;
/* rgb */ color: rgb(199, 56, 191);
/* oklch */ color: oklch(60.2% 0.229 330.4);
Tailwind
colors: {
  custom: {
    50: '#dc7cd3',
    500: '#c738bf',
    950: '#000000',
  },
}
SCSS
$custom: #c738bf;
$custom-light: #dc7cd3;
$custom-dark: #000000;
JSON
{
  "hex": "#c738bf",
  "rgb": {
    "r": 199,
    "g": 56,
    "b": 191
  },
  "hsl": {
    "h": 303.357,
    "s": 56.078,
    "l": 50
  },
  "oklch": {
    "l": 0.60237,
    "c": 0.22888,
    "h": 330.4
  },
  "luminance": 0.18732
}

Semantic roles & 50–950 ramp

primary
#C738BF
secondary
#8DCD91
accent
#DF5148
background
#FEF8FD
surface
#FCEFFA
border
#D5CAD3
text
#150B14
muted
#847C83

Preview Lab

Preview with #C738BF

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

Preview Lab → · Contrast checker → · Palette generator →

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