#7139CC#7139CC

#7139CC is a mid, highly saturated violet. Relative luminance 0.108; OKLCH L 50.1% C 0.212 H 295.0°. Best body text is #FFFFFF at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#7139CC
RGBrgb(113, 57, 204)
HSLhsl(263, 59%, 51%)
HSVhsv(263, 72%, 80%)
CMYKcmyk(44.6%, 72.1%, 0%, 20%)
CIE-LABlab(39.23, 55.14, -67.07)
CIE-LCHlch(39.23, 86.82, 309.42°)
OKLaboklab(50.07% 0.0894 -0.1921)
OKLCHoklch(50.07% 0.212 295)
XYZxyz(19.1693, 10.7961, 58.1889)
Luminance0.1080 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7139CC #94CC39
analogous
#394ACC #7139CC #BA39CC
triadic
#7139CC #CC7139 #39CC71
tetradic
#7139CC #CC394A #94CC39 #39CCBA
square
#7139CC #CC394A #94CC39 #39CCBA
split-complementary
#7139CC #CCBA39 #4ACC39
monochromatic
#3C1C6E #56299F #7139CC #946AD9 #B79AE5

Accessibility & contrast

On white

6.65
#7139CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#7139CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7139CC
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7139CC#FFFFFF#000000##FFFFFF
##7139CC1.006.653.166.65
#FFFFFF6.651.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ED0
Deuteranopia (green-blind)
#005AC9
Tritanopia (blue-blind)
#575F7F
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #7139cc;
/* rgb */ color: rgb(113, 57, 204);
/* oklch */ color: oklch(50.1% 0.212 295.0);
Tailwind
colors: {
  custom: {
    50: '#a274dd',
    500: '#7139cc',
    950: '#000000',
  },
}
SCSS
$custom: #7139cc;
$custom-light: #a274dd;
$custom-dark: #000000;
JSON
{
  "hex": "#7139cc",
  "rgb": {
    "r": 113,
    "g": 57,
    "b": 204
  },
  "hsl": {
    "h": 262.857,
    "s": 59.036,
    "l": 51.176
  },
  "oklch": {
    "l": 0.50074,
    "c": 0.21184,
    "h": 295
  },
  "luminance": 0.10797
}

Semantic roles & 50–950 ramp

primary
#7139CC
secondary
#B8D190
accent
#E246A7
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#100915
muted
#7F7B83

Preview Lab

Preview with #7139CC

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

Preview Lab → · Contrast checker → · Palette generator →

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