#7027B1#7027B1

#7027B1 is a mid, highly saturated violet. Relative luminance 0.081; OKLCH L 45.8% C 0.202 H 302.9°. Best body text is #FFFFFF at 8.03:1 contrast (WCAG AA passes).

Color values

HEX#7027B1
RGBrgb(112, 39, 177)
HSLhsl(272, 64%, 42%)
HSVhsv(272, 78%, 69%)
CMYKcmyk(36.7%, 78%, 0%, 30.6%)
CIE-LABlab(34.13, 56.17, -59.55)
CIE-LCHlch(34.13, 81.86, 313.33°)
OKLaboklab(45.76% 0.1101 -0.1699)
OKLCHoklch(45.76% 0.202 302.9)
XYZxyz(15.3415, 8.0701, 42.3359)
Luminance0.0807 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7027B1 #68B127
analogous
#2B27B1 #7027B1 #B127AD
triadic
#7027B1 #B17027 #27B170
tetradic
#7027B1 #B12B27 #68B127 #27ADB1
square
#7027B1 #B12B27 #68B127 #27ADB1
split-complementary
#7027B1 #ADB127 #27B12B
monochromatic
#31114D #501C7F #7027B1 #8F40D5 #AC72E0

Accessibility & contrast

On white

8.03
#7027B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#7027B1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7027B1
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7027B1#FFFFFF#000000##FFFFFF
##7027B11.008.032.618.03
#FFFFFF8.031.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB5
Deuteranopia (green-blind)
#0050AE
Tritanopia (blue-blind)
#624B6B
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #7027b1;
/* rgb */ color: rgb(112, 39, 177);
/* oklch */ color: oklch(45.8% 0.202 302.9);
Tailwind
colors: {
  custom: {
    50: '#9f6ac9',
    500: '#7027b1',
    950: '#000000',
  },
}
SCSS
$custom: #7027b1;
$custom-light: #9f6ac9;
$custom-dark: #000000;
JSON
{
  "hex": "#7027b1",
  "rgb": {
    "r": 112,
    "g": 39,
    "b": 177
  },
  "hsl": {
    "h": 271.739,
    "s": 63.889,
    "l": 42.353
  },
  "oklch": {
    "l": 0.45764,
    "c": 0.20243,
    "h": 302.9
  },
  "luminance": 0.0807
}

Semantic roles & 50–950 ramp

primary
#7027B1
secondary
#97C76D
accent
#E7418F
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #7027B1

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

Preview Lab → · Contrast checker → · Palette generator →

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