#C74CDB#C74CDB

#C74CDB is a light, highly saturated purple. Relative luminance 0.224; OKLCH L 63.7% C 0.228 H 321.8°. Best body text is #000000 at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#C74CDB
RGBrgb(199, 76, 219)
HSLhsl(292, 67%, 58%)
HSVhsv(292, 65%, 86%)
CMYKcmyk(9.1%, 65.3%, 0%, 14.1%)
CIE-LABlab(54.48, 67.52, -50.51)
CIE-LCHlch(54.48, 84.32, 323.20°)
OKLaboklab(63.67% 0.1789 -0.1408)
OKLCHoklch(63.67% 0.228 321.8)
XYZxyz(38.9224, 22.4275, 69.2829)
Luminance0.2243 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C74CDB #60DB4C
analogous
#7F4CDB #C74CDB #DB4CA8
triadic
#C74CDB #DBC74C #4CDBC7
tetradic
#C74CDB #DB7F4C #60DB4C #4CA8DB
square
#C74CDB #DB7F4C #60DB4C #4CA8DB
split-complementary
#C74CDB #A8DB4C #4CDB7F
monochromatic
#801D90 #AD27C3 #C74CDB #D77FE5 #E7B2EF

Accessibility & contrast

On white

3.83
#C74CDB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.49
#C74CDB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C74CDB
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C74CDB#FFFFFF#000000##000000
##C74CDB1.003.835.495.49
#FFFFFF3.831.0021.0021.00
#0000005.4921.001.001.00
##0000005.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#2479DF
Deuteranopia (green-blind)
#5D87D7
Tritanopia (blue-blind)
#C9648D
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #c74cdb;
/* rgb */ color: rgb(199, 76, 219);
/* oklch */ color: oklch(63.7% 0.228 321.8);
Tailwind
colors: {
  custom: {
    50: '#dc87e7',
    500: '#c74cdb',
    950: '#000000',
  },
}
SCSS
$custom: #c74cdb;
$custom-light: #dc87e7;
$custom-dark: #000000;
JSON
{
  "hex": "#c74cdb",
  "rgb": {
    "r": 199,
    "g": 76,
    "b": 219
  },
  "hsl": {
    "h": 291.608,
    "s": 66.512,
    "l": 57.843
  },
  "oklch": {
    "l": 0.63673,
    "c": 0.22772,
    "h": 321.8
  },
  "luminance": 0.22425
}

Semantic roles & 50–950 ramp

primary
#C74CDB
secondary
#ADDEA5
accent
#E93E56
background
#FDF8FE
surface
#FBF0FC
border
#D4CBD5
text
#150C16
muted
#837D84

Preview Lab

Preview with #C74CDB

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

Preview Lab → · Contrast checker → · Palette generator →

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