#C74EDB#C74EDB

#C74EDB is a light, highly saturated purple. Relative luminance 0.227; OKLCH L 63.9% C 0.225 H 321.7°. Best body text is #000000 at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#C74EDB
RGBrgb(199, 78, 219)
HSLhsl(291, 66%, 58%)
HSVhsv(291, 64%, 86%)
CMYKcmyk(9.1%, 64.4%, 0%, 14.1%)
CIE-LABlab(54.77, 66.70, -50.04)
CIE-LCHlch(54.77, 83.39, 323.12°)
OKLaboklab(63.88% 0.1767 -0.1395)
OKLCHoklch(63.88% 0.225 321.7)
XYZxyz(39.0624, 22.7074, 69.3295)
Luminance0.2271 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C74EDB #62DB4E
analogous
#804EDB #C74EDB #DB4EA9
triadic
#C74EDB #DBC74E #4EDBC7
tetradic
#C74EDB #DB804E #62DB4E #4EA9DB
square
#C74EDB #DB804E #62DB4E #4EA9DB
split-complementary
#C74EDB #A9DB4E #4EDB80
monochromatic
#811E91 #AE28C4 #C74EDB #D781E5 #E7B4F0

Accessibility & contrast

On white

3.79
#C74EDB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.54
#C74EDB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C74EDB
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C74EDB#FFFFFF#000000##000000
##C74EDB1.003.795.545.54
#FFFFFF3.791.0021.0021.00
#0000005.5421.001.001.00
##0000005.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#297ADF
Deuteranopia (green-blind)
#5F88D7
Tritanopia (blue-blind)
#C9658E
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #c74edb;
/* rgb */ color: rgb(199, 78, 219);
/* oklch */ color: oklch(63.9% 0.225 321.7);
Tailwind
colors: {
  custom: {
    50: '#db88e7',
    500: '#c74edb',
    950: '#000000',
  },
}
SCSS
$custom: #c74edb;
$custom-light: #db88e7;
$custom-dark: #000000;
JSON
{
  "hex": "#c74edb",
  "rgb": {
    "r": 199,
    "g": 78,
    "b": 219
  },
  "hsl": {
    "h": 291.489,
    "s": 66.197,
    "l": 58.235
  },
  "oklch": {
    "l": 0.63883,
    "c": 0.22516,
    "h": 321.7
  },
  "luminance": 0.22705
}

Semantic roles & 50–950 ramp

primary
#C74EDB
secondary
#AEDEA6
accent
#E93F57
background
#FDF8FE
surface
#FBF0FC
border
#D4CBD5
text
#150C16
muted
#837D84

Preview Lab

Preview with #C74EDB

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

Preview Lab → · Contrast checker → · Palette generator →

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