#7D35B2#7D35B2

#7D35B2 is a mid, vivid violet. Relative luminance 0.101; OKLCH L 48.9% C 0.191 H 307.0°. Best body text is #FFFFFF at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#7D35B2
RGBrgb(125, 53, 178)
HSLhsl(275, 54%, 45%)
HSVhsv(275, 70%, 70%)
CMYKcmyk(29.8%, 70.2%, 0%, 30.2%)
CIE-LABlab(38.06, 52.87, -53.68)
CIE-LCHlch(38.06, 75.34, 314.56°)
OKLaboklab(48.94% 0.1148 -0.1523)
OKLCHoklch(48.94% 0.191 307)
XYZxyz(17.7647, 10.1207, 43.1285)
Luminance0.1012 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D35B2 #6AB235
analogous
#3E35B2 #7D35B2 #B235A8
triadic
#7D35B2 #B27D35 #35B27D
tetradic
#7D35B2 #B23E35 #6AB235 #35A8B2
square
#7D35B2 #B23E35 #6AB235 #35A8B2
split-complementary
#7D35B2 #A8B235 #35B23E
monochromatic
#3B1954 #5C2783 #7D35B2 #9B57CD #B786DB

Accessibility & contrast

On white

6.94
#7D35B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#7D35B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D35B2
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D35B2#FFFFFF#000000##FFFFFF
##7D35B21.006.943.026.94
#FFFFFF6.941.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B6
Deuteranopia (green-blind)
#0E5AAF
Tritanopia (blue-blind)
#745170
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #7d35b2;
/* rgb */ color: rgb(125, 53, 178);
/* oklch */ color: oklch(48.9% 0.191 307.0);
Tailwind
colors: {
  custom: {
    50: '#a772ca',
    500: '#7d35b2',
    950: '#000000',
  },
}
SCSS
$custom: #7d35b2;
$custom-light: #a772ca;
$custom-dark: #000000;
JSON
{
  "hex": "#7d35b2",
  "rgb": {
    "r": 125,
    "g": 53,
    "b": 178
  },
  "hsl": {
    "h": 274.56,
    "s": 54.113,
    "l": 45.294
  },
  "oklch": {
    "l": 0.4894,
    "c": 0.19069,
    "h": 307
  },
  "luminance": 0.10121
}

Semantic roles & 50–950 ramp

primary
#7D35B2
secondary
#9CC57E
accent
#DD4A89
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100813
muted
#7F7B82

Preview Lab

Preview with #7D35B2

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

Preview Lab → · Contrast checker → · Palette generator →

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