#7D35E2#7D35E2

#7D35E2 is a mid, highly saturated violet. Relative luminance 0.124; OKLCH L 52.8% C 0.240 H 295.8°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#7D35E2
RGBrgb(125, 53, 226)
HSLhsl(265, 75%, 55%)
HSVhsv(265, 77%, 89%)
CMYKcmyk(44.7%, 76.5%, 0%, 11.4%)
CIE-LABlab(41.84, 64.31, -75.40)
CIE-LCHlch(41.84, 99.10, 310.46°)
OKLaboklab(52.78% 0.1046 -0.2161)
OKLCHoklch(52.78% 0.24 295.8)
XYZxyz(23.4543, 12.3966, 73.0938)
Luminance0.1240 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D35E2 #9AE235
analogous
#3544E2 #7D35E2 #D435E2
triadic
#7D35E2 #E27D35 #35E27D
tetradic
#7D35E2 #E23544 #9AE235 #35E2D4
square
#7D35E2 #E23544 #9AE235 #35E2D4
split-complementary
#7D35E2 #E2D435 #44E235
monochromatic
#441489 #5F1BBE #7D35E2 #9F6BEA #C2A0F1

Accessibility & contrast

On white

6.04
#7D35E2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#7D35E2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D35E2
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D35E2#FFFFFF#000000##FFFFFF
##7D35E21.006.043.486.04
#FFFFFF6.041.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7d35e2;
/* rgb */ color: rgb(125, 53, 226);
/* oklch */ color: oklch(52.8% 0.240 295.8);
Tailwind
colors: {
  custom: {
    50: '#ac74ec',
    500: '#7d35e2',
    950: '#000000',
  },
}
SCSS
$custom: #7d35e2;
$custom-light: #ac74ec;
$custom-dark: #000000;
JSON
{
  "hex": "#7d35e2",
  "rgb": {
    "r": 125,
    "g": 53,
    "b": 226
  },
  "hsl": {
    "h": 264.971,
    "s": 74.892,
    "l": 54.706
  },
  "oklch": {
    "l": 0.52782,
    "c": 0.24004,
    "h": 295.8
  },
  "luminance": 0.12397
}

Semantic roles & 50–950 ramp

primary
#7D35E2
secondary
#C0DE95
accent
#F236A4
background
#FBF7FE
surface
#F6EDFD
border
#D0C8D5
text
#110916
muted
#807B84

Preview Lab

Preview with #7D35E2

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

Preview Lab → · Contrast checker → · Palette generator →

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