#7027C4#7027C4

#7027C4 is a mid, highly saturated violet. Relative luminance 0.089; OKLCH L 47.4% C 0.221 H 298.2°. Best body text is #FFFFFF at 7.56:1 contrast (WCAG AA passes).

Color values

HEX#7027C4
RGBrgb(112, 39, 196)
HSLhsl(268, 67%, 46%)
HSVhsv(268, 80%, 77%)
CMYKcmyk(42.9%, 80.1%, 0%, 23.1%)
CIE-LABlab(35.75, 60.66, -68.11)
CIE-LCHlch(35.75, 91.20, 311.69°)
OKLaboklab(47.4% 0.1047 -0.195)
OKLCHoklch(47.4% 0.221 298.2)
XYZxyz(17.3688, 8.8810, 53.0130)
Luminance0.0888 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7027C4 #7BC427
analogous
#272CC4 #7027C4 #BE27C4
triadic
#7027C4 #C47027 #27C470
tetradic
#7027C4 #C4272C #7BC427 #27C4BE
square
#7027C4 #C4272C #7BC427 #27C4BE
split-complementary
#7027C4 #C4BE27 #2CC427
monochromatic
#36135E #531D91 #7027C4 #8F4DDC #AF80E6

Accessibility & contrast

On white

7.56
#7027C4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#7027C4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7027C4
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7027C4#FFFFFF#000000##FFFFFF
##7027C41.007.562.787.56
#FFFFFF7.561.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054C8
Deuteranopia (green-blind)
#0052C1
Tritanopia (blue-blind)
#5A5476
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #7027c4;
/* rgb */ color: rgb(112, 39, 196);
/* oklch */ color: oklch(47.4% 0.221 298.2);
Tailwind
colors: {
  custom: {
    50: '#a16bd7',
    500: '#7027c4',
    950: '#000000',
  },
}
SCSS
$custom: #7027c4;
$custom-light: #a16bd7;
$custom-dark: #000000;
JSON
{
  "hex": "#7027c4",
  "rgb": {
    "r": 112,
    "g": 39,
    "b": 196
  },
  "hsl": {
    "h": 267.898,
    "s": 66.809,
    "l": 46.078
  },
  "oklch": {
    "l": 0.47398,
    "c": 0.22132,
    "h": 298.2
  },
  "luminance": 0.08881
}

Semantic roles & 50–950 ramp

primary
#7027C4
secondary
#A6CE79
accent
#EA3E9A
background
#FAF6FD
surface
#F4ECFA
border
#CEC7D3
text
#100715
muted
#7F7A83

Preview Lab

Preview with #7027C4

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

Preview Lab → · Contrast checker → · Palette generator →

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