#7027A6#7027A6

#7027A6 is a dark, vivid violet. Relative luminance 0.076; OKLCH L 44.9% C 0.191 H 306.1°. Best body text is #FFFFFF at 8.30:1 contrast (WCAG AA passes).

Color values

HEX#7027A6
RGBrgb(112, 39, 166)
HSLhsl(274, 62%, 40%)
HSVhsv(274, 77%, 65%)
CMYKcmyk(32.5%, 76.5%, 0%, 34.9%)
CIE-LABlab(33.24, 53.62, -54.41)
CIE-LCHlch(33.24, 76.39, 314.58°)
OKLaboklab(44.87% 0.1127 -0.1548)
OKLCHoklch(44.87% 0.191 306.1)
XYZxyz(14.2890, 7.6491, 36.7927)
Luminance0.0765 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7027A6 #5DA627
analogous
#3027A6 #7027A6 #A6279C
triadic
#7027A6 #A67027 #27A670
tetradic
#7027A6 #A63027 #5DA627 #279CA6
square
#7027A6 #A63027 #5DA627 #279CA6
split-complementary
#7027A6 #9CA627 #27A630
monochromatic
#2D1043 #4F1B74 #7027A6 #903AD1 #AC6BDC

Accessibility & contrast

On white

8.30
#7027A6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#7027A6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7027A6
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7027A6#FFFFFF#000000##FFFFFF
##7027A61.008.302.538.30
#FFFFFF8.301.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CAA
Deuteranopia (green-blind)
#004EA3
Tritanopia (blue-blind)
#664765
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #7027a6;
/* rgb */ color: rgb(112, 39, 166);
/* oklch */ color: oklch(44.9% 0.191 306.1);
Tailwind
colors: {
  custom: {
    50: '#9e69c1',
    500: '#7027a6',
    950: '#000000',
  },
}
SCSS
$custom: #7027a6;
$custom-light: #9e69c1;
$custom-dark: #000000;
JSON
{
  "hex": "#7027a6",
  "rgb": {
    "r": 112,
    "g": 39,
    "b": 166
  },
  "hsl": {
    "h": 274.488,
    "s": 61.951,
    "l": 40.196
  },
  "oklch": {
    "l": 0.44865,
    "c": 0.19147,
    "h": 306.1
  },
  "luminance": 0.07649
}

Semantic roles & 50–950 ramp

primary
#7027A6
secondary
#8DC366
accent
#E54388
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #7027A6

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

Preview Lab → · Contrast checker → · Palette generator →

#7027A6 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva