#C74FDB#C74FDB

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

Color values

HEX#C74FDB
RGBrgb(199, 79, 219)
HSLhsl(291, 66%, 58%)
HSVhsv(291, 64%, 86%)
CMYKcmyk(9.1%, 63.9%, 0%, 14.1%)
CIE-LABlab(54.92, 66.29, -49.81)
CIE-LCHlch(54.92, 82.92, 323.08°)
OKLaboklab(63.99% 0.1756 -0.1388)
OKLCHoklch(63.99% 0.224 321.7)
XYZxyz(39.1340, 22.8506, 69.3534)
Luminance0.2285 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C74FDB #63DB4F
analogous
#814FDB #C74FDB #DB4FA9
triadic
#C74FDB #DBC74F #4FDBC7
tetradic
#C74FDB #DB814F #63DB4F #4FA9DB
square
#C74FDB #DB814F #63DB4F #4FA9DB
split-complementary
#C74FDB #A9DB4F #4FDB81
monochromatic
#811E92 #AE28C5 #C74FDB #D782E5 #E7B5F0

Accessibility & contrast

On white

3.77
#C74FDB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.57
#C74FDB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C74FDB
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C74FDB#FFFFFF#000000##000000
##C74FDB1.003.775.575.57
#FFFFFF3.771.0021.0021.00
#0000005.5721.001.001.00
##0000005.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#2B7BDF
Deuteranopia (green-blind)
#5F88D7
Tritanopia (blue-blind)
#C9668E
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #c74fdb;
/* rgb */ color: rgb(199, 79, 219);
/* oklch */ color: oklch(64.0% 0.224 321.7);
Tailwind
colors: {
  custom: {
    50: '#db88e7',
    500: '#c74fdb',
    950: '#000000',
  },
}
SCSS
$custom: #c74fdb;
$custom-light: #db88e7;
$custom-dark: #000000;
JSON
{
  "hex": "#c74fdb",
  "rgb": {
    "r": 199,
    "g": 79,
    "b": 219
  },
  "hsl": {
    "h": 291.429,
    "s": 66.038,
    "l": 58.431
  },
  "oklch": {
    "l": 0.63991,
    "c": 0.22387,
    "h": 321.7
  },
  "luminance": 0.22849
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C74FDB

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

Preview Lab → · Contrast checker → · Palette generator →

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