#7135B4#7135B4

#7135B4 is a mid, vivid violet. Relative luminance 0.094; OKLCH L 47.6% C 0.190 H 301.0°. Best body text is #FFFFFF at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#7135B4
RGBrgb(113, 53, 180)
HSLhsl(268, 55%, 46%)
HSVhsv(268, 71%, 71%)
CMYKcmyk(37.2%, 70.6%, 0%, 29.4%)
CIE-LABlab(36.65, 50.95, -57.21)
CIE-LCHlch(36.65, 76.61, 311.69°)
OKLaboklab(47.65% 0.0978 -0.1631)
OKLCHoklch(47.65% 0.19 301)
XYZxyz(16.3194, 9.3521, 44.1165)
Luminance0.0935 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7135B4 #78B435
analogous
#3539B4 #7135B4 #B035B4
triadic
#7135B4 #B47135 #35B471
tetradic
#7135B4 #B43539 #78B435 #35B4B0
square
#7135B4 #B43539 #78B435 #35B4B0
split-complementary
#7135B4 #B4B035 #39B435
monochromatic
#361955 #532785 #7135B4 #9058CE #AF88DC

Accessibility & contrast

On white

7.32
#7135B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#7135B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7135B4
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7135B4#FFFFFF#000000##FFFFFF
##7135B41.007.322.877.32
#FFFFFF7.321.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B8
Deuteranopia (green-blind)
#0055B1
Tritanopia (blue-blind)
#625371
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #7135b4;
/* rgb */ color: rgb(113, 53, 180);
/* oklch */ color: oklch(47.6% 0.190 301.0);
Tailwind
colors: {
  custom: {
    50: '#9f71cb',
    500: '#7135b4',
    950: '#000000',
  },
}
SCSS
$custom: #7135b4;
$custom-light: #9f71cb;
$custom-dark: #000000;
JSON
{
  "hex": "#7135b4",
  "rgb": {
    "r": 113,
    "g": 53,
    "b": 180
  },
  "hsl": {
    "h": 268.346,
    "s": 54.506,
    "l": 45.686
  },
  "oklch": {
    "l": 0.47649,
    "c": 0.19017,
    "h": 301
  },
  "luminance": 0.09352
}

Semantic roles & 50–950 ramp

primary
#7135B4
secondary
#A4C67F
accent
#DE4A98
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#0F0813
muted
#7F7B82

Preview Lab

Preview with #7135B4

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

Preview Lab → · Contrast checker → · Palette generator →

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