#7D35BB#7D35BB

#7D35BB is a mid, highly saturated violet. Relative luminance 0.105; OKLCH L 49.6% C 0.200 H 304.5°. Best body text is #FFFFFF at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#7D35BB
RGBrgb(125, 53, 187)
HSLhsl(272, 56%, 47%)
HSVhsv(272, 72%, 73%)
CMYKcmyk(33.2%, 71.7%, 0%, 26.7%)
CIE-LABlab(38.72, 54.96, -57.93)
CIE-LCHlch(38.72, 79.85, 313.49°)
OKLaboklab(49.61% 0.1134 -0.1647)
OKLCHoklch(49.61% 0.2 304.5)
XYZxyz(18.6982, 10.4941, 48.0446)
Luminance0.1049 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D35BB #73BB35
analogous
#3A35BB #7D35BB #BB35B6
triadic
#7D35BB #BB7D35 #35BB7D
tetradic
#7D35BB #BB3A35 #73BB35 #35B6BB
square
#7D35BB #BB3A35 #73BB35 #35B6BB
split-complementary
#7D35BB #B6BB35 #35BB3A
monochromatic
#3D1A5C #5D278B #7D35BB #9B5CD1 #B88CDE

Accessibility & contrast

On white

6.78
#7D35BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#7D35BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D35BB
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D35BB#FFFFFF#000000##FFFFFF
##7D35BB1.006.783.106.78
#FFFFFF6.781.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059BF
Deuteranopia (green-blind)
#005BB8
Tritanopia (blue-blind)
#715575
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #7d35bb;
/* rgb */ color: rgb(125, 53, 187);
/* oklch */ color: oklch(49.6% 0.200 304.5);
Tailwind
colors: {
  custom: {
    50: '#a873d0',
    500: '#7d35bb',
    950: '#000000',
  },
}
SCSS
$custom: #7d35bb;
$custom-light: #a873d0;
$custom-dark: #000000;
JSON
{
  "hex": "#7d35bb",
  "rgb": {
    "r": 125,
    "g": 53,
    "b": 187
  },
  "hsl": {
    "h": 272.239,
    "s": 55.833,
    "l": 47.059
  },
  "oklch": {
    "l": 0.49614,
    "c": 0.20001,
    "h": 304.5
  },
  "luminance": 0.10494
}

Semantic roles & 50–950 ramp

primary
#7D35BB
secondary
#A3C983
accent
#DF498E
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100814
muted
#7F7B82

Preview Lab

Preview with #7D35BB

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

Preview Lab → · Contrast checker → · Palette generator →

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