#7F34BE#7F34BE

#7F34BE is a mid, highly saturated violet. Relative luminance 0.107; OKLCH L 50.0% C 0.205 H 304.7°. Best body text is #FFFFFF at 6.69:1 contrast (WCAG AA passes).

Color values

HEX#7F34BE
RGBrgb(127, 52, 190)
HSLhsl(273, 57%, 47%)
HSVhsv(273, 73%, 75%)
CMYKcmyk(33.2%, 72.6%, 0%, 25.5%)
CIE-LABlab(39.05, 56.48, -59.14)
CIE-LCHlch(39.05, 81.77, 313.68°)
OKLaboklab(49.98% 0.1166 -0.1682)
OKLCHoklch(49.98% 0.205 304.7)
XYZxyz(19.2725, 10.6858, 49.7525)
Luminance0.1069 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F34BE #73BE34
analogous
#3A34BE #7F34BE #BE34B8
triadic
#7F34BE #BE7F34 #34BE7F
tetradic
#7F34BE #BE3A34 #73BE34 #34B8BE
square
#7F34BE #BE3A34 #73BE34 #34B8BE
split-complementary
#7F34BE #B8BE34 #34BE3A
monochromatic
#3F1A5E #5F278E #7F34BE #9D5DD3 #BA8DE0

Accessibility & contrast

On white

6.69
#7F34BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#7F34BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F34BE
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F34BE#FFFFFF#000000##FFFFFF
##7F34BE1.006.693.146.69
#FFFFFF6.691.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AC2
Deuteranopia (green-blind)
#005CBB
Tritanopia (blue-blind)
#735576
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #7f34be;
/* rgb */ color: rgb(127, 52, 190);
/* oklch */ color: oklch(50.0% 0.205 304.7);
Tailwind
colors: {
  custom: {
    50: '#a972d2',
    500: '#7f34be',
    950: '#000000',
  },
}
SCSS
$custom: #7f34be;
$custom-light: #a972d2;
$custom-dark: #000000;
JSON
{
  "hex": "#7f34be",
  "rgb": {
    "r": 127,
    "g": 52,
    "b": 190
  },
  "hsl": {
    "h": 272.609,
    "s": 57.025,
    "l": 47.451
  },
  "oklch": {
    "l": 0.49976,
    "c": 0.20471,
    "h": 304.7
  },
  "luminance": 0.10686
}

Semantic roles & 50–950 ramp

primary
#7F34BE
secondary
#A4CA84
accent
#E0488D
background
#FAF7FD
surface
#F5EDFA
border
#CFC8D3
text
#100814
muted
#7F7B83

Preview Lab

Preview with #7F34BE

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

Preview Lab → · Contrast checker → · Palette generator →

#7F34BE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva