#7D35B3#7D35B3

#7D35B3 is a mid, vivid violet. Relative luminance 0.102; OKLCH L 49.0% C 0.192 H 306.7°. Best body text is #FFFFFF at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#7D35B3
RGBrgb(125, 53, 179)
HSLhsl(274, 54%, 45%)
HSVhsv(274, 70%, 70%)
CMYKcmyk(30.2%, 70.4%, 0%, 29.8%)
CIE-LABlab(38.13, 53.10, -54.15)
CIE-LCHlch(38.13, 75.84, 314.44°)
OKLaboklab(49.01% 0.1147 -0.1537)
OKLCHoklch(49.01% 0.192 306.7)
XYZxyz(17.8655, 10.1611, 43.6592)
Luminance0.1016 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D35B3 #6BB335
analogous
#3E35B3 #7D35B3 #B335AA
triadic
#7D35B3 #B37D35 #35B37D
tetradic
#7D35B3 #B33E35 #6BB335 #35AAB3
square
#7D35B3 #B33E35 #6BB335 #35AAB3
split-complementary
#7D35B3 #AAB335 #35B33E
monochromatic
#3B1955 #5C2784 #7D35B3 #9B58CD #B787DB

Accessibility & contrast

On white

6.93
#7D35B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#7D35B3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D35B3
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D35B3#FFFFFF#000000##FFFFFF
##7D35B31.006.933.036.93
#FFFFFF6.931.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B7
Deuteranopia (green-blind)
#0B5AB0
Tritanopia (blue-blind)
#745270
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #7d35b3;
/* rgb */ color: rgb(125, 53, 179);
/* oklch */ color: oklch(49.0% 0.192 306.7);
Tailwind
colors: {
  custom: {
    50: '#a772ca',
    500: '#7d35b3',
    950: '#000000',
  },
}
SCSS
$custom: #7d35b3;
$custom-light: #a772ca;
$custom-dark: #000000;
JSON
{
  "hex": "#7d35b3",
  "rgb": {
    "r": 125,
    "g": 53,
    "b": 179
  },
  "hsl": {
    "h": 274.286,
    "s": 54.31,
    "l": 45.49
  },
  "oklch": {
    "l": 0.49014,
    "c": 0.19172,
    "h": 306.7
  },
  "luminance": 0.10161
}

Semantic roles & 50–950 ramp

primary
#7D35B3
secondary
#9DC57F
accent
#DE4A89
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100813
muted
#7F7B82

Preview Lab

Preview with #7D35B3

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

Preview Lab → · Contrast checker → · Palette generator →

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