#7E34DD#7E34DD

#7E34DD is a mid, highly saturated violet. Relative luminance 0.121; OKLCH L 52.4% C 0.236 H 297.3°. Best body text is #FFFFFF at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#7E34DD
RGBrgb(126, 52, 221)
HSLhsl(266, 71%, 54%)
HSVhsv(266, 76%, 87%)
CMYKcmyk(43%, 76.5%, 0%, 13.3%)
CIE-LABlab(41.39, 63.65, -73.27)
CIE-LCHlch(41.39, 97.06, 310.98°)
OKLaboklab(52.37% 0.1081 -0.2098)
OKLCHoklch(52.37% 0.236 297.3)
XYZxyz(22.8799, 12.1116, 69.5249)
Luminance0.1211 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E34DD #93DD34
analogous
#343EDD #7E34DD #D234DD
triadic
#7E34DD #DD7E34 #34DD7E
tetradic
#7E34DD #DD343E #93DD34 #34DDD2
square
#7E34DD #DD343E #93DD34 #34DDD2
split-complementary
#7E34DD #DDD234 #3EDD34
monochromatic
#451681 #611EB5 #7E34DD #9F68E6 #C19DEF

Accessibility & contrast

On white

6.14
#7E34DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#7E34DD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E34DD
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E34DD#FFFFFF#000000##FFFFFF
##7E34DD1.006.143.426.14
#FFFFFF6.141.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.141.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7e34dd;
/* rgb */ color: rgb(126, 52, 221);
/* oklch */ color: oklch(52.4% 0.236 297.3);
Tailwind
colors: {
  custom: {
    50: '#ac74e9',
    500: '#7e34dd',
    950: '#000000',
  },
}
SCSS
$custom: #7e34dd;
$custom-light: #ac74e9;
$custom-dark: #000000;
JSON
{
  "hex": "#7e34dd",
  "rgb": {
    "r": 126,
    "g": 52,
    "b": 221
  },
  "hsl": {
    "h": 266.272,
    "s": 71.308,
    "l": 53.529
  },
  "oklch": {
    "l": 0.52367,
    "c": 0.23601,
    "h": 297.3
  },
  "luminance": 0.12112
}

Semantic roles & 50–950 ramp

primary
#7E34DD
secondary
#BBDB92
accent
#EE3A9F
background
#FBF7FE
surface
#F6EDFD
border
#D0C8D5
text
#110916
muted
#807B84

Preview Lab

Preview with #7E34DD

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

Preview Lab → · Contrast checker → · Palette generator →

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