#7138B8#7138B8

#7138B8 is a mid, vivid violet. Relative luminance 0.098; OKLCH L 48.3% C 0.191 H 299.5°. Best body text is #FFFFFF at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#7138B8
RGBrgb(113, 56, 184)
HSLhsl(267, 53%, 47%)
HSVhsv(267, 70%, 72%)
CMYKcmyk(38.6%, 69.6%, 0%, 27.8%)
CIE-LABlab(37.48, 50.50, -58.23)
CIE-LCHlch(37.48, 77.08, 310.93°)
OKLaboklab(48.33% 0.0941 -0.1661)
OKLCHoklch(48.33% 0.191 299.5)
XYZxyz(16.8738, 9.7996, 46.3406)
Luminance0.0980 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7138B8 #7FB838
analogous
#383FB8 #7138B8 #B138B8
triadic
#7138B8 #B87138 #38B871
tetradic
#7138B8 #B8383F #7FB838 #38B8B1
square
#7138B8 #B8383F #7FB838 #38B8B1
split-complementary
#7138B8 #B8B138 #3FB838
monochromatic
#371B5A #542A89 #7138B8 #915FCE #B18EDD

Accessibility & contrast

On white

7.09
#7138B8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#7138B8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7138B8
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7138B8#FFFFFF#000000##FFFFFF
##7138B81.007.092.967.09
#FFFFFF7.091.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058BC
Deuteranopia (green-blind)
#0057B5
Tritanopia (blue-blind)
#615774
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #7138b8;
/* rgb */ color: rgb(113, 56, 184);
/* oklch */ color: oklch(48.3% 0.191 299.5);
Tailwind
colors: {
  custom: {
    50: '#a073ce',
    500: '#7138b8',
    950: '#000000',
  },
}
SCSS
$custom: #7138b8;
$custom-light: #a073ce;
$custom-dark: #000000;
JSON
{
  "hex": "#7138b8",
  "rgb": {
    "r": 113,
    "g": 56,
    "b": 184
  },
  "hsl": {
    "h": 266.719,
    "s": 53.333,
    "l": 47.059
  },
  "oklch": {
    "l": 0.48334,
    "c": 0.1909,
    "h": 299.5
  },
  "luminance": 0.098
}

Semantic roles & 50–950 ramp

primary
#7138B8
secondary
#AAC785
accent
#DD4B9C
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#0F0814
muted
#7F7B82

Preview Lab

Preview with #7138B8

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

Preview Lab → · Contrast checker → · Palette generator →

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