#C754BD#C754BD

#C754BD is a light, vivid purple. Relative luminance 0.222; OKLCH L 63.0% C 0.191 H 331.1°. Best body text is #000000 at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#C754BD
RGBrgb(199, 84, 189)
HSLhsl(305, 51%, 55%)
HSVhsv(305, 58%, 78%)
CMYKcmyk(0%, 57.8%, 5%, 22%)
CIE-LABlab(54.20, 58.89, -33.81)
CIE-LCHlch(54.20, 67.90, 330.14°)
OKLaboklab(62.98% 0.1675 -0.0926)
OKLCHoklch(62.98% 0.191 331.1)
XYZxyz(35.9086, 22.1594, 50.5201)
Luminance0.2216 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C754BD #54C75E
analogous
#9754C7 #C754BD #C75484
triadic
#C754BD #BDC754 #54BDC7
tetradic
#C754BD #C79754 #54C75E #5484C7
square
#C754BD #C79754 #54C75E #5484C7
split-complementary
#C754BD #84C754 #54C797
monochromatic
#792872 #A7379D #C754BD #D682CF #E5B0E1

Accessibility & contrast

On white

3.87
#C754BD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.43
#C754BD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C754BD
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C754BD#FFFFFF#000000##000000
##C754BD1.003.875.435.43
#FFFFFF3.871.0021.0021.00
#0000005.4321.001.001.00
##0000005.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E77C0
Deuteranopia (green-blind)
#7387BA
Tritanopia (blue-blind)
#CE5E81
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #c754bd;
/* rgb */ color: rgb(199, 84, 189);
/* oklch */ color: oklch(63.0% 0.191 331.1);
Tailwind
colors: {
  custom: {
    50: '#db8ad1',
    500: '#c754bd',
    950: '#000000',
  },
}
SCSS
$custom: #c754bd;
$custom-light: #db8ad1;
$custom-dark: #000000;
JSON
{
  "hex": "#c754bd",
  "rgb": {
    "r": 199,
    "g": 84,
    "b": 189
  },
  "hsl": {
    "h": 305.217,
    "s": 50.661,
    "l": 55.49
  },
  "oklch": {
    "l": 0.62977,
    "c": 0.19139,
    "h": 331.1
  },
  "luminance": 0.22157
}

Semantic roles & 50–950 ramp

primary
#C754BD
secondary
#A3D3A8
accent
#DA5A4E
background
#FDF8FC
surface
#FBF0F9
border
#D4CBD2
text
#150C14
muted
#837D82

Preview Lab

Preview with #C754BD

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

Preview Lab → · Contrast checker → · Palette generator →

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