#C748B2#C748B2

#C748B2 is a mid, vivid purple. Relative luminance 0.200; OKLCH L 61.1% C 0.200 H 334.9°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#C748B2
RGBrgb(199, 72, 178)
HSLhsl(310, 53%, 53%)
HSVhsv(310, 64%, 78%)
CMYKcmyk(0%, 63.8%, 10.6%, 22%)
CIE-LABlab(51.83, 62.24, -31.12)
CIE-LCHlch(51.83, 69.59, 333.43°)
OKLaboklab(61.08% 0.1809 -0.0848)
OKLCHoklch(61.08% 0.2 334.9)
XYZxyz(33.9067, 19.9939, 44.1843)
Luminance0.1999 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C748B2 #48C75D
analogous
#9C48C7 #C748B2 #C74872
triadic
#C748B2 #B2C748 #48B2C7
tetradic
#C748B2 #C79C48 #48C75D #4872C7
square
#C748B2 #C79C48 #48C75D #4872C7
split-complementary
#C748B2 #72C748 #48C79C
monochromatic
#722365 #A1318E #C748B2 #D577C6 #E4A6D9

Accessibility & contrast

On white

4.20
#C748B2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#C748B2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C748B2
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C748B2#FFFFFF#000000##000000
##C748B21.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4870B5
Deuteranopia (green-blind)
#7182AF
Tritanopia (blue-blind)
#D05176
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #c748b2;
/* rgb */ color: rgb(199, 72, 178);
/* oklch */ color: oklch(61.1% 0.200 334.9);
Tailwind
colors: {
  custom: {
    50: '#db84c9',
    500: '#c748b2',
    950: '#000000',
  },
}
SCSS
$custom: #c748b2;
$custom-light: #db84c9;
$custom-dark: #000000;
JSON
{
  "hex": "#c748b2",
  "rgb": {
    "r": 199,
    "g": 72,
    "b": 178
  },
  "hsl": {
    "h": 309.921,
    "s": 53.138,
    "l": 53.137
  },
  "oklch": {
    "l": 0.61084,
    "c": 0.1998,
    "h": 334.9
  },
  "luminance": 0.19991
}

Semantic roles & 50–950 ramp

primary
#C748B2
secondary
#9AD1A3
accent
#DD634B
background
#FDF8FC
surface
#FBF0F8
border
#D4CBD1
text
#150B13
muted
#837C82

Preview Lab

Preview with #C748B2

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

Preview Lab → · Contrast checker → · Palette generator →

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