#7041D8#7041D8

#7041D8 is a mid, highly saturated violet. Relative luminance 0.122; OKLCH L 52.0% C 0.216 H 291.2°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#7041D8
RGBrgb(112, 65, 216)
HSLhsl(259, 66%, 55%)
HSVhsv(259, 70%, 85%)
CMYKcmyk(48.1%, 69.9%, 0%, 15.3%)
CIE-LABlab(41.50, 54.23, -70.29)
CIE-LCHlch(41.50, 88.78, 307.65°)
OKLaboklab(51.96% 0.0784 -0.2016)
OKLCHoklch(51.96% 0.216 291.2)
XYZxyz(20.9636, 12.1824, 66.1993)
Luminance0.1218 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7041D8 #A9D841
analogous
#415ED8 #7041D8 #BB41D8
triadic
#7041D8 #D87041 #41D870
tetradic
#7041D8 #D8415E #A9D841 #41D8BB
square
#7041D8 #D8415E #A9D841 #41D8BB
split-complementary
#7041D8 #D8BB41 #5ED841
monochromatic
#3C1B84 #5325B6 #7041D8 #9674E2 #BCA7ED

Accessibility & contrast

On white

6.11
#7041D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#7041D8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7041D8
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7041D8#FFFFFF#000000##FFFFFF
##7041D81.006.113.446.11
#FFFFFF6.111.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064DC
Deuteranopia (green-blind)
#005FD5
Tritanopia (blue-blind)
#4E6888
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #7041d8;
/* rgb */ color: rgb(112, 65, 216);
/* oklch */ color: oklch(52.0% 0.216 291.2);
Tailwind
colors: {
  custom: {
    50: '#a279e5',
    500: '#7041d8',
    950: '#000000',
  },
}
SCSS
$custom: #7041d8;
$custom-light: #a279e5;
$custom-dark: #000000;
JSON
{
  "hex": "#7041d8",
  "rgb": {
    "r": 112,
    "g": 65,
    "b": 216
  },
  "hsl": {
    "h": 258.675,
    "s": 65.939,
    "l": 55.098
  },
  "oklch": {
    "l": 0.51963,
    "c": 0.21628,
    "h": 291.2
  },
  "luminance": 0.12183
}

Semantic roles & 50–950 ramp

primary
#7041D8
secondary
#C6DA9B
accent
#E93FB4
background
#FAF7FE
surface
#F4EEFC
border
#CEC9D5
text
#100916
muted
#7F7B84

Preview Lab

Preview with #7041D8

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

Preview Lab → · Contrast checker → · Palette generator →

#7041D8 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva