#7135B3#7135B3

#7135B3 is a mid, vivid violet. Relative luminance 0.093; OKLCH L 47.6% C 0.189 H 301.2°. Best body text is #FFFFFF at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#7135B3
RGBrgb(113, 53, 179)
HSLhsl(269, 54%, 45%)
HSVhsv(269, 70%, 70%)
CMYKcmyk(36.9%, 70.4%, 0%, 29.8%)
CIE-LABlab(36.58, 50.70, -56.74)
CIE-LCHlch(36.58, 76.09, 311.78°)
OKLaboklab(47.57% 0.098 -0.1617)
OKLCHoklch(47.57% 0.189 301.2)
XYZxyz(16.2179, 9.3115, 43.5820)
Luminance0.0931 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7135B3 #77B335
analogous
#3538B3 #7135B3 #B035B3
triadic
#7135B3 #B37135 #35B371
tetradic
#7135B3 #B33538 #77B335 #35B3B0
square
#7135B3 #B33538 #77B335 #35B3B0
split-complementary
#7135B3 #B3B035 #38B335
monochromatic
#351955 #532784 #7135B3 #9058CD #AF87DB

Accessibility & contrast

On white

7.34
#7135B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#7135B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7135B3
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7135B3#FFFFFF#000000##FFFFFF
##7135B31.007.342.867.34
#FFFFFF7.341.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.341.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7135b3;
/* rgb */ color: rgb(113, 53, 179);
/* oklch */ color: oklch(47.6% 0.189 301.2);
Tailwind
colors: {
  custom: {
    50: '#9f71cb',
    500: '#7135b3',
    950: '#000000',
  },
}
SCSS
$custom: #7135b3;
$custom-light: #9f71cb;
$custom-dark: #000000;
JSON
{
  "hex": "#7135b3",
  "rgb": {
    "r": 113,
    "g": 53,
    "b": 179
  },
  "hsl": {
    "h": 268.571,
    "s": 54.31,
    "l": 45.49
  },
  "oklch": {
    "l": 0.47571,
    "c": 0.18908,
    "h": 301.2
  },
  "luminance": 0.09312
}

Semantic roles & 50–950 ramp

primary
#7135B3
secondary
#A4C57F
accent
#DE4A97
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#0F0813
muted
#7F7B82

Preview Lab

Preview with #7135B3

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

Preview Lab → · Contrast checker → · Palette generator →

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