Purpley Blue#5F34E7

#5F34E7 is a mid, highly saturated violet. Relative luminance 0.107; OKLCH L 50.2% C 0.247 H 284.1°. Best body text is #FFFFFF at 6.71:1 contrast (WCAG AA passes).

Purpley Blue — editorial page

Color values

HEX#5F34E7
RGBrgb(95, 52, 231)
HSLhsl(254, 79%, 55%)
HSVhsv(254, 77%, 91%)
CMYKcmyk(58.9%, 77.5%, 0%, 9.4%)
CIE-LABlab(39.00, 62.15, -83.03)
CIE-LCHlch(39.00, 103.71, 306.81°)
OKLaboklab(50.21% 0.0602 -0.2393)
OKLCHoklch(50.21% 0.247 284.1)
XYZxyz(20.3667, 10.6571, 76.5696)
Luminance0.1066 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F34E7 #BCE734
analogous
#3463E7 #5F34E7 #B834E7
triadic
#5F34E7 #E75F34 #34E75F
tetradic
#5F34E7 #E73463 #BCE734 #34E7B8
square
#5F34E7 #E73463 #BCE734 #34E7B8
split-complementary
#5F34E7 #E7B834 #63E734
monochromatic
#2F1190 #4117C6 #5F34E7 #8A6BED #B5A1F4

Accessibility & contrast

On white

6.71
#5F34E7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#5F34E7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F34E7
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F34E7#FFFFFF#000000##FFFFFF
##5F34E71.006.713.136.71
#FFFFFF6.711.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061EC
Deuteranopia (green-blind)
#0056E4
Tritanopia (blue-blind)
#00698D
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #5f34e7;
/* rgb */ color: rgb(95, 52, 231);
/* oklch */ color: oklch(50.2% 0.247 284.1);
Tailwind
colors: {
  custom: {
    50: '#9c71f0',
    500: '#5f34e7',
    950: '#000000',
  },
}
SCSS
$custom: #5f34e7;
$custom-light: #9c71f0;
$custom-dark: #000000;
JSON
{
  "hex": "#5f34e7",
  "rgb": {
    "r": 95,
    "g": 52,
    "b": 231
  },
  "hsl": {
    "h": 254.413,
    "s": 78.855,
    "l": 55.49
  },
  "oklch": {
    "l": 0.50209,
    "c": 0.24679,
    "h": 284.1
  },
  "luminance": 0.10658
}

Semantic roles & 50–950 ramp

primary
#5F34E7
secondary
#CFE196
accent
#F532C7
background
#FAF7FE
surface
#F4EDFD
border
#CEC8D5
text
#100817
muted
#7F7B85

Preview Lab

Preview with #5F34E7

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

Preview Lab → · Contrast checker → · Palette generator →

#5F34E7 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva