#7024BD#7024BD

#7024BD is a mid, highly saturated violet. Relative luminance 0.084; OKLCH L 46.5% C 0.217 H 300.1°. Best body text is #FFFFFF at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#7024BD
RGBrgb(112, 36, 189)
HSLhsl(270, 68%, 44%)
HSVhsv(270, 81%, 74%)
CMYKcmyk(40.7%, 81%, 0%, 25.9%)
CIE-LABlab(34.76, 60.10, -65.62)
CIE-LCHlch(34.76, 88.98, 312.48°)
OKLaboklab(46.52% 0.109 -0.1877)
OKLCHoklch(46.52% 0.217 300.1)
XYZxyz(16.4960, 8.3804, 48.8827)
Luminance0.0838 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7024BD #71BD24
analogous
#2425BD #7024BD #BD24BD
triadic
#7024BD #BD7024 #24BD70
tetradic
#7024BD #BD2425 #71BD24 #24BDBD
square
#7024BD #BD2425 #71BD24 #24BDBD
split-complementary
#7024BD #BDBD24 #25BD24
monochromatic
#331056 #521A8A #7024BD #8F43DB #AD76E5

Accessibility & contrast

On white

7.85
#7024BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#7024BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7024BD
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7024BD#FFFFFF#000000##FFFFFF
##7024BD1.007.852.687.85
#FFFFFF7.851.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051C1
Deuteranopia (green-blind)
#0051BA
Tritanopia (blue-blind)
#5E4F72
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #7024bd;
/* rgb */ color: rgb(112, 36, 189);
/* oklch */ color: oklch(46.5% 0.217 300.1);
Tailwind
colors: {
  custom: {
    50: '#a169d2',
    500: '#7024bd',
    950: '#000000',
  },
}
SCSS
$custom: #7024bd;
$custom-light: #a169d2;
$custom-dark: #000000;
JSON
{
  "hex": "#7024bd",
  "rgb": {
    "r": 112,
    "g": 36,
    "b": 189
  },
  "hsl": {
    "h": 269.804,
    "s": 68,
    "l": 44.118
  },
  "oklch": {
    "l": 0.46521,
    "c": 0.21702,
    "h": 300.1
  },
  "luminance": 0.08381
}

Semantic roles & 50–950 ramp

primary
#7024BD
secondary
#9FCC70
accent
#EB3D94
background
#FAF6FD
surface
#F4EBFA
border
#CEC6D3
text
#100714
muted
#7F7A83

Preview Lab

Preview with #7024BD

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

Preview Lab → · Contrast checker → · Palette generator →

#7024BD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva