#7135B2#7135B2

#7135B2 is a mid, vivid violet. Relative luminance 0.093; OKLCH L 47.5% C 0.188 H 301.5°. Best body text is #FFFFFF at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#7135B2
RGBrgb(113, 53, 178)
HSLhsl(269, 54%, 45%)
HSVhsv(269, 70%, 70%)
CMYKcmyk(36.5%, 70.2%, 0%, 30.2%)
CIE-LABlab(36.50, 50.45, -56.27)
CIE-LCHlch(36.50, 75.58, 311.88°)
OKLaboklab(47.49% 0.0982 -0.1603)
OKLCHoklch(47.49% 0.188 301.5)
XYZxyz(16.1171, 9.2712, 43.0513)
Luminance0.0927 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7135B2 #76B235
analogous
#3537B2 #7135B2 #B035B2
triadic
#7135B2 #B27135 #35B271
tetradic
#7135B2 #B23537 #76B235 #35B2B0
square
#7135B2 #B23537 #76B235 #35B2B0
split-complementary
#7135B2 #B2B035 #37B235
monochromatic
#351954 #532783 #7135B2 #9057CD #AF86DB

Accessibility & contrast

On white

7.36
#7135B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#7135B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7135B2
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7135B2#FFFFFF#000000##FFFFFF
##7135B21.007.362.857.36
#FFFFFF7.361.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B6
Deuteranopia (green-blind)
#0055AF
Tritanopia (blue-blind)
#635370
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #7135b2;
/* rgb */ color: rgb(113, 53, 178);
/* oklch */ color: oklch(47.5% 0.188 301.5);
Tailwind
colors: {
  custom: {
    50: '#9f71ca',
    500: '#7135b2',
    950: '#000000',
  },
}
SCSS
$custom: #7135b2;
$custom-light: #9f71ca;
$custom-dark: #000000;
JSON
{
  "hex": "#7135b2",
  "rgb": {
    "r": 113,
    "g": 53,
    "b": 178
  },
  "hsl": {
    "h": 268.8,
    "s": 54.113,
    "l": 45.294
  },
  "oklch": {
    "l": 0.47493,
    "c": 0.18798,
    "h": 301.5
  },
  "luminance": 0.09271
}

Semantic roles & 50–950 ramp

primary
#7135B2
secondary
#A3C57E
accent
#DD4A97
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#0F0813
muted
#7F7B82

Preview Lab

Preview with #7135B2

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

Preview Lab → · Contrast checker → · Palette generator →

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