#7138AE#7138AE

#7138AE is a mid, vivid violet. Relative luminance 0.094; OKLCH L 47.6% C 0.180 H 302.1°. Best body text is #FFFFFF at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#7138AE
RGBrgb(113, 56, 174)
HSLhsl(269, 51%, 45%)
HSVhsv(269, 68%, 68%)
CMYKcmyk(35.1%, 67.8%, 0%, 31.8%)
CIE-LABlab(36.73, 47.98, -53.52)
CIE-LCHlch(36.73, 71.88, 311.88°)
OKLaboklab(47.57% 0.0955 -0.1522)
OKLCHoklch(47.57% 0.18 302.1)
XYZxyz(15.8624, 9.3950, 41.0139)
Luminance0.0940 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7138AE #75AE38
analogous
#383AAE #7138AE #AC38AE
triadic
#7138AE #AE7138 #38AE71
tetradic
#7138AE #AE383A #75AE38 #38AEAC
square
#7138AE #AE383A #75AE38 #38AEAC
split-complementary
#7138AE #AEAC38 #3AAE38
monochromatic
#351A51 #532980 #7138AE #9059CA #AF88D9

Accessibility & contrast

On white

7.29
#7138AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#7138AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7138AE
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7138AE#FFFFFF#000000##FFFFFF
##7138AE1.007.292.887.29
#FFFFFF7.291.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B2
Deuteranopia (green-blind)
#0056AB
Tritanopia (blue-blind)
#64536E
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #7138ae;
/* rgb */ color: rgb(113, 56, 174);
/* oklch */ color: oklch(47.6% 0.180 302.1);
Tailwind
colors: {
  custom: {
    50: '#9f73c7',
    500: '#7138ae',
    950: '#000000',
  },
}
SCSS
$custom: #7138ae;
$custom-light: #9f73c7;
$custom-dark: #000000;
JSON
{
  "hex": "#7138ae",
  "rgb": {
    "r": 113,
    "g": 56,
    "b": 174
  },
  "hsl": {
    "h": 268.983,
    "s": 51.304,
    "l": 45.098
  },
  "oklch": {
    "l": 0.47566,
    "c": 0.17973,
    "h": 302.1
  },
  "luminance": 0.09395
}

Semantic roles & 50–950 ramp

primary
#7138AE
secondary
#A2C37F
accent
#DB4D96
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#0F0813
muted
#7F7B82

Preview Lab

Preview with #7138AE

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

Preview Lab → · Contrast checker → · Palette generator →

#7138AE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva