#7E35E2#7E35E2

#7E35E2 is a mid, highly saturated violet. Relative luminance 0.125; OKLCH L 52.9% C 0.240 H 296.2°. Best body text is #FFFFFF at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#7E35E2
RGBrgb(126, 53, 226)
HSLhsl(265, 75%, 55%)
HSVhsv(265, 77%, 89%)
CMYKcmyk(44.2%, 76.5%, 0%, 11.4%)
CIE-LABlab(41.96, 64.45, -75.20)
CIE-LCHlch(41.96, 99.04, 310.60°)
OKLaboklab(52.89% 0.106 -0.2155)
OKLCHoklch(52.89% 0.24 296.2)
XYZxyz(23.6011, 12.4723, 73.1007)
Luminance0.1247 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E35E2 #99E235
analogous
#3543E2 #7E35E2 #D535E2
triadic
#7E35E2 #E27E35 #35E27E
tetradic
#7E35E2 #E23543 #99E235 #35E2D5
square
#7E35E2 #E23543 #99E235 #35E2D5
split-complementary
#7E35E2 #E2D535 #43E235
monochromatic
#451489 #601BBE #7E35E2 #A06BEA #C2A0F1

Accessibility & contrast

On white

6.01
#7E35E2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#7E35E2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E35E2
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E35E2#FFFFFF#000000##FFFFFF
##7E35E21.006.013.496.01
#FFFFFF6.011.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064E7
Deuteranopia (green-blind)
#0061DF
Tritanopia (blue-blind)
#62658B
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #7e35e2;
/* rgb */ color: rgb(126, 53, 226);
/* oklch */ color: oklch(52.9% 0.240 296.2);
Tailwind
colors: {
  custom: {
    50: '#ac74ec',
    500: '#7e35e2',
    950: '#000000',
  },
}
SCSS
$custom: #7e35e2;
$custom-light: #ac74ec;
$custom-dark: #000000;
JSON
{
  "hex": "#7e35e2",
  "rgb": {
    "r": 126,
    "g": 53,
    "b": 226
  },
  "hsl": {
    "h": 265.318,
    "s": 74.892,
    "l": 54.706
  },
  "oklch": {
    "l": 0.52891,
    "c": 0.24012,
    "h": 296.2
  },
  "luminance": 0.12473
}

Semantic roles & 50–950 ramp

primary
#7E35E2
secondary
#BFDE95
accent
#F236A3
background
#FBF7FE
surface
#F6EDFD
border
#D0C8D5
text
#110916
muted
#807B84

Preview Lab

Preview with #7E35E2

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

Preview Lab → · Contrast checker → · Palette generator →

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