#7137B6#7137B6

#7137B6 is a mid, vivid violet. Relative luminance 0.096; OKLCH L 48.1% C 0.190 H 300.2°. Best body text is #FFFFFF at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#7137B6
RGBrgb(113, 55, 182)
HSLhsl(267, 54%, 46%)
HSVhsv(267, 70%, 71%)
CMYKcmyk(37.9%, 69.8%, 0%, 28.6%)
CIE-LABlab(37.15, 50.48, -57.59)
CIE-LCHlch(37.15, 76.58, 311.24°)
OKLaboklab(48.05% 0.0955 -0.1642)
OKLCHoklch(48.05% 0.19 300.2)
XYZxyz(16.6177, 9.6203, 45.2283)
Luminance0.0962 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7137B6 #7CB637
analogous
#373DB6 #7137B6 #B137B6
triadic
#7137B6 #B67137 #37B671
tetradic
#7137B6 #B6373D #7CB637 #37B6B1
square
#7137B6 #B6373D #7CB637 #37B6B1
split-complementary
#7137B6 #B6B137 #3DB637
monochromatic
#371B58 #542987 #7137B6 #905CCE #B08BDC

Accessibility & contrast

On white

7.18
#7137B6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#7137B6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7137B6
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7137B6#FFFFFF#000000##FFFFFF
##7137B61.007.182.927.18
#FFFFFF7.181.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057BA
Deuteranopia (green-blind)
#0056B3
Tritanopia (blue-blind)
#615572
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #7137b6;
/* rgb */ color: rgb(113, 55, 182);
/* oklch */ color: oklch(48.1% 0.190 300.2);
Tailwind
colors: {
  custom: {
    50: '#9f72cd',
    500: '#7137b6',
    950: '#000000',
  },
}
SCSS
$custom: #7137b6;
$custom-light: #9f72cd;
$custom-dark: #000000;
JSON
{
  "hex": "#7137b6",
  "rgb": {
    "r": 113,
    "g": 55,
    "b": 182
  },
  "hsl": {
    "h": 267.402,
    "s": 53.586,
    "l": 46.471
  },
  "oklch": {
    "l": 0.48052,
    "c": 0.18991,
    "h": 300.2
  },
  "luminance": 0.0962
}

Semantic roles & 50–950 ramp

primary
#7137B6
secondary
#A7C682
accent
#DD4B9A
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#0F0813
muted
#7F7B82

Preview Lab

Preview with #7137B6

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

Preview Lab → · Contrast checker → · Palette generator →

#7137B6 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva