#7139BA#7139BA

#7139BA is a mid, vivid violet. Relative luminance 0.100; OKLCH L 48.6% C 0.192 H 298.9°. Best body text is #FFFFFF at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#7139BA
RGBrgb(113, 57, 186)
HSLhsl(266, 53%, 48%)
HSVhsv(266, 69%, 73%)
CMYKcmyk(39.2%, 69.4%, 0%, 27.1%)
CIE-LABlab(37.81, 50.51, -58.88)
CIE-LCHlch(37.81, 77.57, 310.63°)
OKLaboklab(48.62% 0.0928 -0.168)
OKLCHoklch(48.62% 0.192 298.9)
XYZxyz(17.1339, 9.9819, 47.4689)
Luminance0.0998 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7139BA #82BA39
analogous
#3941BA #7139BA #B239BA
triadic
#7139BA #BA7139 #39BA71
tetradic
#7139BA #BA3941 #82BA39 #39BAB2
square
#7139BA #BA3941 #82BA39 #39BAB2
split-complementary
#7139BA #BAB239 #41BA39
monochromatic
#381C5C #552B8B #7139BA #9161CF #B290DD

Accessibility & contrast

On white

7.01
#7139BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#7139BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7139BA
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7139BA#FFFFFF#000000##FFFFFF
##7139BA1.007.013.007.01
#FFFFFF7.011.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059BE
Deuteranopia (green-blind)
#0058B7
Tritanopia (blue-blind)
#605875
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #7139ba;
/* rgb */ color: rgb(113, 57, 186);
/* oklch */ color: oklch(48.6% 0.192 298.9);
Tailwind
colors: {
  custom: {
    50: '#a074d0',
    500: '#7139ba',
    950: '#000000',
  },
}
SCSS
$custom: #7139ba;
$custom-light: #a074d0;
$custom-dark: #000000;
JSON
{
  "hex": "#7139ba",
  "rgb": {
    "r": 113,
    "g": 57,
    "b": 186
  },
  "hsl": {
    "h": 266.047,
    "s": 53.086,
    "l": 47.647
  },
  "oklch": {
    "l": 0.48617,
    "c": 0.19189,
    "h": 298.9
  },
  "luminance": 0.09982
}

Semantic roles & 50–950 ramp

primary
#7139BA
secondary
#ACC887
accent
#DC4B9D
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#0F0814
muted
#7F7B82

Preview Lab

Preview with #7139BA

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

Preview Lab → · Contrast checker → · Palette generator →

#7139BA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva