#C74EFF#C74EFF

#C74EFF is a light, highly saturated purple. Relative luminance 0.248; OKLCH L 66.1% C 0.257 H 312.8°. Best body text is #000000 at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#C74EFF
RGBrgb(199, 78, 255)
HSLhsl(281, 100%, 65%)
HSVhsv(281, 69%, 100%)
CMYKcmyk(22%, 69.4%, 0%, 0%)
CIE-LABlab(56.89, 73.55, -66.79)
CIE-LCHlch(56.89, 99.35, 317.75°)
OKLaboklab(66.09% 0.1748 -0.1885)
OKLCHoklch(66.09% 0.257 312.8)
XYZxyz(44.3244, 24.8122, 97.0427)
Luminance0.2481 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C74EFF #86FF4E
analogous
#6E4EFF #C74EFF #FF4EDE
triadic
#C74EFF #FFC74E #4EFFC7
tetradic
#C74EFF #FF6E4E #86FF4E #4EDEFF
square
#C74EFF #FF6E4E #86FF4E #4EDEFF
split-complementary
#C74EFF #DEFF4E #4EFF6E
monochromatic
#9000D3 #B411FF #C74EFF #DA8BFF #EEC8FF

Accessibility & contrast

On white

3.52
#C74EFF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.96
#C74EFF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C74EFF
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C74EFF#FFFFFF#000000##000000
##C74EFF1.003.525.965.96
#FFFFFF3.521.0021.0021.00
#0000005.9621.001.001.00
##0000005.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0082FF
Deuteranopia (green-blind)
#3D8BFB
Tritanopia (blue-blind)
#C174A2
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #c74eff;
/* rgb */ color: rgb(199, 78, 255);
/* oklch */ color: oklch(66.1% 0.257 312.8);
Tailwind
colors: {
  custom: {
    50: '#dd89ff',
    500: '#c74eff',
    950: '#000000',
  },
}
SCSS
$custom: #c74eff;
$custom-light: #dd89ff;
$custom-dark: #000000;
JSON
{
  "hex": "#c74eff",
  "rgb": {
    "r": 199,
    "g": 78,
    "b": 255
  },
  "hsl": {
    "h": 281.017,
    "s": 100,
    "l": 65.294
  },
  "oklch": {
    "l": 0.66085,
    "c": 0.25713,
    "h": 312.8
  },
  "luminance": 0.24811
}

Semantic roles & 50–950 ramp

primary
#C74EFF
secondary
#C9F2B7
accent
#E60049
background
#FEF8FF
surface
#FCF0FF
border
#D5CBD7
text
#160C18
muted
#847D86

Preview Lab

Preview with #C74EFF

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

Preview Lab → · Contrast checker → · Palette generator →

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