#C74BE3#C74BE3

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

Color values

HEX#C74BE3
RGBrgb(199, 75, 227)
HSLhsl(289, 73%, 59%)
HSVhsv(289, 67%, 89%)
CMYKcmyk(12.3%, 67%, 0%, 11%)
CIE-LABlab(54.78, 69.38, -54.54)
CIE-LCHlch(54.78, 88.25, 321.83°)
OKLaboklab(64.04% 0.1799 -0.1526)
OKLCHoklch(64.04% 0.236 319.7)
XYZxyz(39.9326, 22.7222, 74.9406)
Luminance0.2272 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C74BE3 #67E34B
analogous
#7B4BE3 #C74BE3 #E34BB3
triadic
#C74BE3 #E3C74B #4BE3C7
tetradic
#C74BE3 #E37B4B #67E34B #4BB3E3
square
#C74BE3 #E37B4B #67E34B #4BB3E3
split-complementary
#C74BE3 #B3E34B #4BE37B
monochromatic
#83189B #B020D0 #C74BE3 #D780EB #E8B5F3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C74BE3#FFFFFF#000000##000000
##C74BE31.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)
#0C7BE7
Deuteranopia (green-blind)
#5787DF
Tritanopia (blue-blind)
#C76691
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #c74be3;
/* rgb */ color: rgb(199, 75, 227);
/* oklch */ color: oklch(64.0% 0.236 319.7);
Tailwind
colors: {
  custom: {
    50: '#dc87ec',
    500: '#c74be3',
    950: '#000000',
  },
}
SCSS
$custom: #c74be3;
$custom-light: #dc87ec;
$custom-dark: #000000;
JSON
{
  "hex": "#c74be3",
  "rgb": {
    "r": 199,
    "g": 75,
    "b": 227
  },
  "hsl": {
    "h": 288.947,
    "s": 73.077,
    "l": 59.216
  },
  "oklch": {
    "l": 0.64039,
    "c": 0.23588,
    "h": 319.7
  },
  "luminance": 0.2272
}

Semantic roles & 50–950 ramp

primary
#C74BE3
secondary
#B2E3A7
accent
#F0385A
background
#FDF8FE
surface
#FBF0FD
border
#D4CBD5
text
#150C16
muted
#837D84

Preview Lab

Preview with #C74BE3

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

Preview Lab → · Contrast checker → · Palette generator →

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