#7017A0#7017A0

#7017A0 is a dark, highly saturated violet. Relative luminance 0.066; OKLCH L 43.1% C 0.200 H 309.2°. Best body text is #FFFFFF at 9.05:1 contrast (WCAG AA passes).

Color values

HEX#7017A0
RGBrgb(112, 23, 160)
HSLhsl(279, 75%, 36%)
HSVhsv(279, 86%, 63%)
CMYKcmyk(30%, 85.6%, 0%, 37.3%)
CIE-LABlab(30.87, 57.77, -54.64)
CIE-LCHlch(30.87, 79.52, 316.60°)
OKLaboklab(43.06% 0.1267 -0.1553)
OKLCHoklch(43.06% 0.2 309.2)
XYZxyz(13.3323, 6.5959, 33.8217)
Luminance0.0660 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7017A0 #47A017
analogous
#2B17A0 #7017A0 #A0178B
triadic
#7017A0 #A07017 #17A070
tetradic
#7017A0 #A02B17 #47A017 #178BA0
square
#7017A0 #A02B17 #47A017 #178BA0
split-complementary
#7017A0 #8BA017 #17A02B
monochromatic
#250835 #4B0F6A #7017A0 #951FD6 #B04CE5

Accessibility & contrast

On white

9.05
#7017A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#7017A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7017A0
9.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7017A0#FFFFFF#000000##FFFFFF
##7017A01.009.052.329.05
#FFFFFF9.051.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045A4
Deuteranopia (green-blind)
#004A9D
Tritanopia (blue-blind)
#693D5F
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #7017a0;
/* rgb */ color: rgb(112, 23, 160);
/* oklch */ color: oklch(43.1% 0.200 309.2);
Tailwind
colors: {
  custom: {
    50: '#9f62bd',
    500: '#7017a0',
    950: '#000000',
  },
}
SCSS
$custom: #7017a0;
$custom-light: #9f62bd;
$custom-dark: #000000;
JSON
{
  "hex": "#7017a0",
  "rgb": {
    "r": 112,
    "g": 23,
    "b": 160
  },
  "hsl": {
    "h": 278.978,
    "s": 74.863,
    "l": 35.882
  },
  "oklch": {
    "l": 0.43057,
    "c": 0.20046,
    "h": 309.2
  },
  "luminance": 0.06596
}

Semantic roles & 50–950 ramp

primary
#7017A0
secondary
#77C74C
accent
#F13678
background
#FAF6FB
surface
#F4EBF7
border
#CEC6D0
text
#0F0612
muted
#7F7A81

Preview Lab

Preview with #7017A0

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

Preview Lab → · Contrast checker → · Palette generator →

#7017A0 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva