#C34FE4#C34FE4

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

Color values

HEX#C34FE4
RGBrgb(195, 79, 228)
HSLhsl(287, 73%, 60%)
HSVhsv(287, 65%, 89%)
CMYKcmyk(14.5%, 65.4%, 0%, 10.6%)
CIE-LABlab(54.86, 67.06, -55.01)
CIE-LCHlch(54.86, 86.74, 320.64°)
OKLaboklab(64% 0.1709 -0.1541)
OKLCHoklch(64% 0.23 318)
XYZxyz(39.3033, 22.7972, 75.7137)
Luminance0.2280 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C34FE4 #70E44F
analogous
#784FE4 #C34FE4 #E44FBB
triadic
#C34FE4 #E4C34F #4FE4C3
tetradic
#C34FE4 #E4784F #70E44F #4FBBE4
square
#C34FE4 #E4784F #70E44F #4FBBE4
split-complementary
#C34FE4 #BBE44F #4FE478
monochromatic
#8219A0 #AD21D5 #C34FE4 #D584EC #E7B9F4

Accessibility & contrast

On white

3.78
#C34FE4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.56
#C34FE4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C34FE4
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C34FE4#FFFFFF#000000##000000
##C34FE41.003.785.565.56
#FFFFFF3.781.0021.0021.00
#0000005.5621.001.001.00
##0000005.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#137CE8
Deuteranopia (green-blind)
#5587E0
Tritanopia (blue-blind)
#C26A93
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #c34fe4;
/* rgb */ color: rgb(195, 79, 228);
/* oklch */ color: oklch(64.0% 0.230 318.0);
Tailwind
colors: {
  custom: {
    50: '#d988ed',
    500: '#c34fe4',
    950: '#000000',
  },
}
SCSS
$custom: #c34fe4;
$custom-light: #d988ed;
$custom-dark: #000000;
JSON
{
  "hex": "#c34fe4",
  "rgb": {
    "r": 195,
    "g": 79,
    "b": 228
  },
  "hsl": {
    "h": 286.711,
    "s": 73.399,
    "l": 60.196
  },
  "oklch": {
    "l": 0.63999,
    "c": 0.23013,
    "h": 318
  },
  "luminance": 0.22796
}

Semantic roles & 50–950 ramp

primary
#C34FE4
secondary
#B7E4AB
accent
#D6103C
background
#FDF8FE
surface
#FBF0FD
border
#D4CBD5
text
#150C16
muted
#837D84

Preview Lab

Preview with #C34FE4

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

Preview Lab → · Contrast checker → · Palette generator →

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