#7135A2#7135A2

#7135A2 is a mid, vivid violet. Relative luminance 0.087; OKLCH L 46.3% C 0.170 H 306.1°. Best body text is #FFFFFF at 7.68:1 contrast (WCAG AA passes).

Color values

HEX#7135A2
RGBrgb(113, 53, 162)
HSLhsl(273, 51%, 42%)
HSVhsv(273, 67%, 64%)
CMYKcmyk(30.2%, 67.3%, 0%, 36.5%)
CIE-LABlab(35.33, 46.54, -48.60)
CIE-LCHlch(35.33, 67.29, 313.76°)
OKLaboklab(46.29% 0.1003 -0.1378)
OKLCHoklch(46.29% 0.17 306.1)
XYZxyz(14.6033, 8.6657, 35.0787)
Luminance0.0867 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7135A2 #66A235
analogous
#3B35A2 #7135A2 #A2359C
triadic
#7135A2 #A27135 #35A271
tetradic
#7135A2 #A23B35 #66A235 #359CA2
square
#7135A2 #A23B35 #66A235 #359CA2
split-complementary
#7135A2 #9CA235 #35A23B
monochromatic
#311746 #512674 #7135A2 #904FC5 #AD7DD4

Accessibility & contrast

On white

7.68
#7135A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#7135A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7135A2
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7135A2#FFFFFF#000000##FFFFFF
##7135A21.007.682.737.68
#FFFFFF7.681.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051A5
Deuteranopia (green-blind)
#1853A0
Tritanopia (blue-blind)
#694D67
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #7135a2;
/* rgb */ color: rgb(113, 53, 162);
/* oklch */ color: oklch(46.3% 0.170 306.1);
Tailwind
colors: {
  custom: {
    50: '#9e70be',
    500: '#7135a2',
    950: '#000000',
  },
}
SCSS
$custom: #7135a2;
$custom-light: #9e70be;
$custom-dark: #000000;
JSON
{
  "hex": "#7135a2",
  "rgb": {
    "r": 113,
    "g": 53,
    "b": 162
  },
  "hsl": {
    "h": 273.028,
    "s": 50.698,
    "l": 42.157
  },
  "oklch": {
    "l": 0.46288,
    "c": 0.17039,
    "h": 306.1
  },
  "luminance": 0.08666
}

Semantic roles & 50–950 ramp

primary
#7135A2
secondary
#96BD75
accent
#DA4E8D
background
#FAF7FB
surface
#F3EDF7
border
#CDC8D0
text
#0F0812
muted
#7F7B81

Preview Lab

Preview with #7135A2

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

Preview Lab → · Contrast checker → · Palette generator →

#7135A2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva