#7027AD#7027AD

#7027AD is a mid, vivid violet. Relative luminance 0.079; OKLCH L 45.4% C 0.198 H 304.0°. Best body text is #FFFFFF at 8.13:1 contrast (WCAG AA passes).

Color values

HEX#7027AD
RGBrgb(112, 39, 173)
HSLhsl(273, 63%, 42%)
HSVhsv(273, 77%, 68%)
CMYKcmyk(35.3%, 77.5%, 0%, 32.2%)
CIE-LABlab(33.80, 55.23, -57.69)
CIE-LCHlch(33.80, 79.87, 313.75°)
OKLaboklab(45.43% 0.1111 -0.1644)
OKLCHoklch(45.43% 0.198 304)
XYZxyz(14.9487, 7.9130, 40.2669)
Luminance0.0791 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7027AD #64AD27
analogous
#2D27AD #7027AD #AD27A7
triadic
#7027AD #AD7027 #27AD70
tetradic
#7027AD #AD2D27 #64AD27 #27A7AD
square
#7027AD #AD2D27 #64AD27 #27A7AD
split-complementary
#7027AD #A7AD27 #27AD2D
monochromatic
#2F1049 #501C7B #7027AD #8F3ED3 #AC70DF

Accessibility & contrast

On white

8.13
#7027AD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#7027AD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7027AD
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7027AD#FFFFFF#000000##FFFFFF
##7027AD1.008.132.588.13
#FFFFFF8.131.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EB1
Deuteranopia (green-blind)
#004FAA
Tritanopia (blue-blind)
#644A69
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #7027ad;
/* rgb */ color: rgb(112, 39, 173);
/* oklch */ color: oklch(45.4% 0.198 304.0);
Tailwind
colors: {
  custom: {
    50: '#9f6ac6',
    500: '#7027ad',
    950: '#000000',
  },
}
SCSS
$custom: #7027ad;
$custom-light: #9f6ac6;
$custom-dark: #000000;
JSON
{
  "hex": "#7027ad",
  "rgb": {
    "r": 112,
    "g": 39,
    "b": 173
  },
  "hsl": {
    "h": 272.687,
    "s": 63.208,
    "l": 41.569
  },
  "oklch": {
    "l": 0.45433,
    "c": 0.19845,
    "h": 304
  },
  "luminance": 0.07913
}

Semantic roles & 50–950 ramp

primary
#7027AD
secondary
#94C66A
accent
#E6428D
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #7027AD

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

Preview Lab → · Contrast checker → · Palette generator →

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