#7412E2#7412E2

#7412E2 is a mid, highly saturated violet. Relative luminance 0.096; OKLCH L 49.3% C 0.263 H 294.7°. Best body text is #FFFFFF at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#7412E2
RGBrgb(116, 18, 226)
HSLhsl(268, 85%, 48%)
HSVhsv(268, 92%, 89%)
CMYKcmyk(48.7%, 92%, 0%, 11.4%)
CIE-LABlab(37.18, 73.73, -83.10)
CIE-LCHlch(37.18, 111.09, 311.58°)
OKLaboklab(49.34% 0.1097 -0.2386)
OKLCHoklch(49.34% 0.263 294.7)
XYZxyz(21.1424, 9.6359, 72.6827)
Luminance0.0964 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7412E2 #80E212
analogous
#1218E2 #7412E2 #DC12E2
triadic
#7412E2 #E27412 #12E274
tetradic
#7412E2 #E21218 #80E212 #12E2DC
square
#7412E2 #E21218 #80E212 #12E2DC
split-complementary
#7412E2 #E2DC12 #18E212
monochromatic
#3A0971 #570DA9 #7412E2 #9441F0 #B47AF4

Accessibility & contrast

On white

7.17
#7412E2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#7412E2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7412E2
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7412E2#FFFFFF#000000##FFFFFF
##7412E21.007.172.937.17
#FFFFFF7.171.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059E7
Deuteranopia (green-blind)
#0054DF
Tritanopia (blue-blind)
#515B85
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #7412e2;
/* rgb */ color: rgb(116, 18, 226);
/* oklch */ color: oklch(49.3% 0.263 294.7);
Tailwind
colors: {
  custom: {
    50: '#a866ed',
    500: '#7412e2',
    950: '#000000',
  },
}
SCSS
$custom: #7412e2;
$custom-light: #a866ed;
$custom-dark: #000000;
JSON
{
  "hex": "#7412e2",
  "rgb": {
    "r": 116,
    "g": 18,
    "b": 226
  },
  "hsl": {
    "h": 268.269,
    "s": 85.246,
    "l": 47.843
  },
  "oklch": {
    "l": 0.4934,
    "c": 0.2626,
    "h": 294.7
  },
  "luminance": 0.09637
}

Semantic roles & 50–950 ramp

primary
#7412E2
secondary
#ABDC74
accent
#FB2C9A
background
#FBF6FE
surface
#F6EBFD
border
#D0C6D5
text
#110716
muted
#807A84

Preview Lab

Preview with #7412E2

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

Preview Lab → · Contrast checker → · Palette generator →

#7412E2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva