#C74BD8#C74BD8

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

Color values

HEX#C74BD8
RGBrgb(199, 75, 216)
HSLhsl(293, 64%, 57%)
HSVhsv(293, 65%, 85%)
CMYKcmyk(7.9%, 65.3%, 0%, 15.3%)
CIE-LABlab(54.17, 67.38, -49.30)
CIE-LCHlch(54.17, 83.49, 323.81°)
OKLaboklab(63.4% 0.18 -0.1373)
OKLCHoklch(63.4% 0.226 322.7)
XYZxyz(38.4627, 22.1342, 67.1988)
Luminance0.2213 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C74BD8 #5CD84B
analogous
#814BD8 #C74BD8 #D84BA3
triadic
#C74BD8 #D8C74B #4BD8C7
tetradic
#C74BD8 #D8814B #5CD84B #4BA3D8
square
#C74BD8 #D8814B #5CD84B #4BA3D8
split-complementary
#C74BD8 #A3D84B #4BD881
monochromatic
#7D1E8B #AB29BD #C74BD8 #D77DE3 #E6B0EE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C74BD8#FFFFFF#000000##000000
##C74BD81.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)
#2778DC
Deuteranopia (green-blind)
#5F86D4
Tritanopia (blue-blind)
#CA628B
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #c74bd8;
/* rgb */ color: rgb(199, 75, 216);
/* oklch */ color: oklch(63.4% 0.226 322.7);
Tailwind
colors: {
  custom: {
    50: '#db86e4',
    500: '#c74bd8',
    950: '#000000',
  },
}
SCSS
$custom: #c74bd8;
$custom-light: #db86e4;
$custom-dark: #000000;
JSON
{
  "hex": "#c74bd8",
  "rgb": {
    "r": 199,
    "g": 75,
    "b": 216
  },
  "hsl": {
    "h": 292.766,
    "s": 64.384,
    "l": 57.059
  },
  "oklch": {
    "l": 0.63397,
    "c": 0.22642,
    "h": 322.7
  },
  "luminance": 0.22132
}

Semantic roles & 50–950 ramp

primary
#C74BD8
secondary
#AADCA3
accent
#E74055
background
#FDF8FE
surface
#FBF0FC
border
#D4CBD5
text
#150C16
muted
#837D84

Preview Lab

Preview with #C74BD8

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

Preview Lab → · Contrast checker → · Palette generator →

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