#7027A8#7027A8

#7027A8 is a mid, vivid violet. Relative luminance 0.077; OKLCH L 45.0% C 0.193 H 305.5°. Best body text is #FFFFFF at 8.25:1 contrast (WCAG AA passes).

Color values

HEX#7027A8
RGBrgb(112, 39, 168)
HSLhsl(274, 62%, 41%)
HSVhsv(274, 77%, 66%)
CMYKcmyk(33.3%, 76.8%, 0%, 34.1%)
CIE-LABlab(33.40, 54.08, -55.35)
CIE-LCHlch(33.40, 77.38, 314.33°)
OKLaboklab(45.03% 0.1123 -0.1575)
OKLCHoklch(45.03% 0.193 305.5)
XYZxyz(14.4739, 7.7230, 37.7664)
Luminance0.0772 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7027A8 #5FA827
analogous
#2F27A8 #7027A8 #A827A0
triadic
#7027A8 #A87027 #27A870
tetradic
#7027A8 #A82F27 #5FA827 #27A0A8
square
#7027A8 #A82F27 #5FA827 #27A0A8
split-complementary
#7027A8 #A0A827 #27A82F
monochromatic
#2E1045 #4F1B76 #7027A8 #903BD1 #AC6CDD

Accessibility & contrast

On white

8.25
#7027A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#7027A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7027A8
8.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7027A8#FFFFFF#000000##FFFFFF
##7027A81.008.252.548.25
#FFFFFF8.251.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DAC
Deuteranopia (green-blind)
#004FA5
Tritanopia (blue-blind)
#664866
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #7027a8;
/* rgb */ color: rgb(112, 39, 168);
/* oklch */ color: oklch(45.0% 0.193 305.5);
Tailwind
colors: {
  custom: {
    50: '#9e69c3',
    500: '#7027a8',
    950: '#000000',
  },
}
SCSS
$custom: #7027a8;
$custom-light: #9e69c3;
$custom-dark: #000000;
JSON
{
  "hex": "#7027a8",
  "rgb": {
    "r": 112,
    "g": 39,
    "b": 168
  },
  "hsl": {
    "h": 273.953,
    "s": 62.319,
    "l": 40.588
  },
  "oklch": {
    "l": 0.45026,
    "c": 0.19346,
    "h": 305.5
  },
  "luminance": 0.07723
}

Semantic roles & 50–950 ramp

primary
#7027A8
secondary
#8FC367
accent
#E54289
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #7027A8

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

Preview Lab → · Contrast checker → · Palette generator →

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