#C74BD7#C74BD7

#C74BD7 is a light, highly saturated purple. Relative luminance 0.221; OKLCH L 63.3% C 0.226 H 322.9°. Best body text is #000000 at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#C74BD7
RGBrgb(199, 75, 215)
HSLhsl(293, 64%, 57%)
HSVhsv(293, 65%, 84%)
CMYKcmyk(7.4%, 65.1%, 0%, 15.7%)
CIE-LABlab(54.11, 67.20, -48.82)
CIE-LCHlch(54.11, 83.06, 324.00°)
OKLaboklab(63.34% 0.18 -0.1359)
OKLCHoklch(63.34% 0.226 322.9)
XYZxyz(38.3338, 22.0827, 66.5200)
Luminance0.2208 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C74BD7 #5BD74B
analogous
#814BD7 #C74BD7 #D74BA1
triadic
#C74BD7 #D7C74B #4BD7C7
tetradic
#C74BD7 #D7814B #5BD74B #4BA1D7
square
#C74BD7 #D7814B #5BD74B #4BA1D7
split-complementary
#C74BD7 #A1D74B #4BD781
monochromatic
#7D1E89 #AB2ABB #C74BD7 #D77DE2 #E6AFED

Accessibility & contrast

On white

3.88
#C74BD7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.42
#C74BD7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C74BD7
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C74BD7#FFFFFF#000000##000000
##C74BD71.003.885.425.42
#FFFFFF3.881.0021.0021.00
#0000005.4221.001.001.00
##0000005.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#2978DB
Deuteranopia (green-blind)
#5F86D3
Tritanopia (blue-blind)
#CA628B
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #c74bd7;
/* rgb */ color: rgb(199, 75, 215);
/* oklch */ color: oklch(63.3% 0.226 322.9);
Tailwind
colors: {
  custom: {
    50: '#db86e4',
    500: '#c74bd7',
    950: '#000000',
  },
}
SCSS
$custom: #c74bd7;
$custom-light: #db86e4;
$custom-dark: #000000;
JSON
{
  "hex": "#c74bd7",
  "rgb": {
    "r": 199,
    "g": 75,
    "b": 215
  },
  "hsl": {
    "h": 293.143,
    "s": 63.636,
    "l": 56.863
  },
  "oklch": {
    "l": 0.63341,
    "c": 0.22556,
    "h": 322.9
  },
  "luminance": 0.22081
}

Semantic roles & 50–950 ramp

primary
#C74BD7
secondary
#A9DBA2
accent
#E74154
background
#FDF8FE
surface
#FBF0FC
border
#D4CBD5
text
#150C15
muted
#837D84

Preview Lab

Preview with #C74BD7

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

Preview Lab → · Contrast checker → · Palette generator →

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