#7028B3#7028B3

#7028B3 is a mid, highly saturated violet. Relative luminance 0.082; OKLCH L 46.0% C 0.203 H 302.3°. Best body text is #FFFFFF at 7.94:1 contrast (WCAG AA passes).

Color values

HEX#7028B3
RGBrgb(112, 40, 179)
HSLhsl(271, 63%, 43%)
HSVhsv(271, 78%, 70%)
CMYKcmyk(37.4%, 77.7%, 0%, 29.8%)
CIE-LABlab(34.43, 56.24, -60.24)
CIE-LCHlch(34.43, 82.42, 313.03°)
OKLaboklab(46.03% 0.1087 -0.1719)
OKLCHoklch(46.03% 0.203 302.3)
XYZxyz(15.5756, 8.2170, 43.4045)
Luminance0.0822 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7028B3 #6BB328
analogous
#2A28B3 #7028B3 #B328B0
triadic
#7028B3 #B37028 #28B370
tetradic
#7028B3 #B32A28 #6BB328 #28B0B3
square
#7028B3 #B32A28 #6BB328 #28B0B3
split-complementary
#7028B3 #B0B328 #28B32A
monochromatic
#31124F #511D81 #7028B3 #8F43D5 #AD75E0

Accessibility & contrast

On white

7.94
#7028B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#7028B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7028B3
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7028B3#FFFFFF#000000##FFFFFF
##7028B31.007.942.647.94
#FFFFFF7.941.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B7
Deuteranopia (green-blind)
#0050B0
Tritanopia (blue-blind)
#624D6D
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #7028b3;
/* rgb */ color: rgb(112, 40, 179);
/* oklch */ color: oklch(46.0% 0.203 302.3);
Tailwind
colors: {
  custom: {
    50: '#9f6acb',
    500: '#7028b3',
    950: '#000000',
  },
}
SCSS
$custom: #7028b3;
$custom-light: #9f6acb;
$custom-dark: #000000;
JSON
{
  "hex": "#7028b3",
  "rgb": {
    "r": 112,
    "g": 40,
    "b": 179
  },
  "hsl": {
    "h": 271.079,
    "s": 63.47,
    "l": 42.941
  },
  "oklch": {
    "l": 0.46027,
    "c": 0.20343,
    "h": 302.3
  },
  "luminance": 0.08217
}

Semantic roles & 50–950 ramp

primary
#7028B3
secondary
#9AC86F
accent
#E64191
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #7028B3

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

Preview Lab → · Contrast checker → · Palette generator →

#7028B3 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva