#7F34DD#7F34DD

#7F34DD is a mid, highly saturated violet. Relative luminance 0.122; OKLCH L 52.5% C 0.236 H 297.6°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#7F34DD
RGBrgb(127, 52, 221)
HSLhsl(267, 71%, 54%)
HSVhsv(267, 76%, 87%)
CMYKcmyk(42.5%, 76.5%, 0%, 13.3%)
CIE-LABlab(41.51, 63.80, -73.07)
CIE-LCHlch(41.51, 97.00, 311.13°)
OKLaboklab(52.48% 0.1096 -0.2092)
OKLCHoklch(52.48% 0.236 297.6)
XYZxyz(23.0281, 12.1880, 69.5319)
Luminance0.1219 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F34DD #92DD34
analogous
#343DDD #7F34DD #D334DD
triadic
#7F34DD #DD7F34 #34DD7F
tetradic
#7F34DD #DD343D #92DD34 #34DDD3
square
#7F34DD #DD343D #92DD34 #34DDD3
split-complementary
#7F34DD #DDD334 #3DDD34
monochromatic
#451681 #611EB5 #7F34DD #A068E6 #C19DEF

Accessibility & contrast

On white

6.11
#7F34DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#7F34DD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F34DD
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F34DD#FFFFFF#000000##FFFFFF
##7F34DD1.006.113.446.11
#FFFFFF6.111.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062E2
Deuteranopia (green-blind)
#0060DA
Tritanopia (blue-blind)
#676288
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #7f34dd;
/* rgb */ color: rgb(127, 52, 221);
/* oklch */ color: oklch(52.5% 0.236 297.6);
Tailwind
colors: {
  custom: {
    50: '#ac74e9',
    500: '#7f34dd',
    950: '#000000',
  },
}
SCSS
$custom: #7f34dd;
$custom-light: #ac74e9;
$custom-dark: #000000;
JSON
{
  "hex": "#7f34dd",
  "rgb": {
    "r": 127,
    "g": 52,
    "b": 221
  },
  "hsl": {
    "h": 266.627,
    "s": 71.308,
    "l": 53.529
  },
  "oklch": {
    "l": 0.52477,
    "c": 0.23611,
    "h": 297.6
  },
  "luminance": 0.12188
}

Semantic roles & 50–950 ramp

primary
#7F34DD
secondary
#BADB92
accent
#EE3A9E
background
#FBF7FE
surface
#F6EDFD
border
#D0C8D5
text
#110916
muted
#807B84

Preview Lab

Preview with #7F34DD

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

Preview Lab → · Contrast checker → · Palette generator →

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