#7139C2#7139C2

#7139C2 is a mid, highly saturated violet. Relative luminance 0.103; OKLCH L 49.3% C 0.201 H 297.1°. Best body text is #FFFFFF at 6.85:1 contrast (WCAG AA passes).

Color values

HEX#7139C2
RGBrgb(113, 57, 194)
HSLhsl(265, 55%, 49%)
HSVhsv(265, 71%, 76%)
CMYKcmyk(41.8%, 70.6%, 0%, 23.9%)
CIE-LABlab(38.43, 52.56, -62.56)
CIE-LCHlch(38.43, 81.71, 310.04°)
OKLaboklab(49.25% 0.0914 -0.1788)
OKLCHoklch(49.25% 0.201 297.1)
XYZxyz(18.0082, 10.3317, 52.0739)
Luminance0.1033 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7139C2 #8AC239
analogous
#3945C2 #7139C2 #B639C2
triadic
#7139C2 #C27139 #39C271
tetradic
#7139C2 #C23945 #8AC239 #39C2B6
square
#7139C2 #C23945 #8AC239 #39C2B6
split-complementary
#7139C2 #C2B639 #45C239
monochromatic
#3A1D63 #552B93 #7139C2 #9266D2 #B495E0

Accessibility & contrast

On white

6.85
#7139C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#7139C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7139C2
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7139C2#FFFFFF#000000##FFFFFF
##7139C21.006.853.076.85
#FFFFFF6.851.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BC6
Deuteranopia (green-blind)
#0059BF
Tritanopia (blue-blind)
#5C5B7A
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #7139c2;
/* rgb */ color: rgb(113, 57, 194);
/* oklch */ color: oklch(49.3% 0.201 297.1);
Tailwind
colors: {
  custom: {
    50: '#a074d5',
    500: '#7139c2',
    950: '#000000',
  },
}
SCSS
$custom: #7139c2;
$custom-light: #a074d5;
$custom-dark: #000000;
JSON
{
  "hex": "#7139c2",
  "rgb": {
    "r": 113,
    "g": 57,
    "b": 194
  },
  "hsl": {
    "h": 264.526,
    "s": 54.582,
    "l": 49.216
  },
  "oklch": {
    "l": 0.49254,
    "c": 0.2008,
    "h": 297.1
  },
  "luminance": 0.10332
}

Semantic roles & 50–950 ramp

primary
#7139C2
secondary
#B1CB8B
accent
#DE4AA1
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100814
muted
#7F7B83

Preview Lab

Preview with #7139C2

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

Preview Lab → · Contrast checker → · Palette generator →

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