#C34FE2#C34FE2

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

Color values

HEX#C34FE2
RGBrgb(195, 79, 226)
HSLhsl(287, 72%, 60%)
HSVhsv(287, 65%, 89%)
CMYKcmyk(13.7%, 65%, 0%, 11.4%)
CIE-LABlab(54.75, 66.68, -54.07)
CIE-LCHlch(54.75, 85.85, 320.96°)
OKLaboklab(63.88% 0.171 -0.1514)
OKLCHoklch(63.88% 0.228 318.5)
XYZxyz(39.0273, 22.6868, 74.2600)
Luminance0.2268 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C34FE2 #6EE24F
analogous
#7A4FE2 #C34FE2 #E24FB7
triadic
#C34FE2 #E2C34F #4FE2C3
tetradic
#C34FE2 #E27A4F #6EE24F #4FB7E2
square
#C34FE2 #E27A4F #6EE24F #4FB7E2
split-complementary
#C34FE2 #B7E24F #4FE27A
monochromatic
#811A9D #AC22D1 #C34FE2 #D584EB #E7B8F3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C34FE2#FFFFFF#000000##000000
##C34FE21.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)
#197BE6
Deuteranopia (green-blind)
#5787DE
Tritanopia (blue-blind)
#C36992
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #c34fe2;
/* rgb */ color: rgb(195, 79, 226);
/* oklch */ color: oklch(63.9% 0.228 318.5);
Tailwind
colors: {
  custom: {
    50: '#d988ec',
    500: '#c34fe2',
    950: '#000000',
  },
}
SCSS
$custom: #c34fe2;
$custom-light: #d988ec;
$custom-dark: #000000;
JSON
{
  "hex": "#c34fe2",
  "rgb": {
    "r": 195,
    "g": 79,
    "b": 226
  },
  "hsl": {
    "h": 287.347,
    "s": 71.707,
    "l": 59.804
  },
  "oklch": {
    "l": 0.63879,
    "c": 0.22833,
    "h": 318.5
  },
  "luminance": 0.22685
}

Semantic roles & 50–950 ramp

primary
#C34FE2
secondary
#B6E3AA
accent
#EE3960
background
#FDF8FE
surface
#FBF0FD
border
#D4CBD5
text
#150C16
muted
#837D84

Preview Lab

Preview with #C34FE2

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

Preview Lab → · Contrast checker → · Palette generator →

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