#C738CB#C738CB

#C738CB is a mid, highly saturated purple. Relative luminance 0.193; OKLCH L 60.9% C 0.238 H 326.8°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#C738CB
RGBrgb(199, 56, 203)
HSLhsl(298, 59%, 51%)
HSVhsv(298, 72%, 80%)
CMYKcmyk(2%, 72.4%, 0%, 20.4%)
CIE-LABlab(51.02, 72.04, -46.88)
CIE-LCHlch(51.02, 85.95, 326.94°)
OKLaboklab(60.91% 0.1991 -0.1301)
OKLCHoklch(60.91% 0.238 326.8)
XYZxyz(35.7462, 19.2847, 58.3279)
Luminance0.1928 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C738CB #3CCB38
analogous
#7D38CB #C738CB #CB3886
triadic
#C738CB #CBC738 #38CBC7
tetradic
#C738CB #CB7D38 #3CCB38 #3886CB
square
#C738CB #CB7D38 #3CCB38 #3886CB
split-complementary
#C738CB #86CB38 #38CB7D
monochromatic
#6A1C6C #9A299D #C738CB #D569D8 #E299E4

Accessibility & contrast

On white

4.32
#C738CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#C738CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C738CB
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C738CB#FFFFFF#000000##000000
##C738CB1.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#126ECF
Deuteranopia (green-blind)
#5C80C7
Tritanopia (blue-blind)
#CD507F
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #c738cb;
/* rgb */ color: rgb(199, 56, 203);
/* oklch */ color: oklch(60.9% 0.238 326.8);
Tailwind
colors: {
  custom: {
    50: '#dc7ddb',
    500: '#c738cb',
    950: '#000000',
  },
}
SCSS
$custom: #c738cb;
$custom-light: #dc7ddb;
$custom-dark: #000000;
JSON
{
  "hex": "#c738cb",
  "rgb": {
    "r": 199,
    "g": 56,
    "b": 203
  },
  "hsl": {
    "h": 298.367,
    "s": 58.566,
    "l": 50.784
  },
  "oklch": {
    "l": 0.60906,
    "c": 0.23789,
    "h": 326.8
  },
  "luminance": 0.19282
}

Semantic roles & 50–950 ramp

primary
#C738CB
secondary
#91D08F
accent
#E2464A
background
#FEF8FD
surface
#FCEFFB
border
#D5CAD4
text
#160B15
muted
#847C83

Preview Lab

Preview with #C738CB

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

Preview Lab → · Contrast checker → · Palette generator →

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