#7141E2#7141E2

#7141E2 is a mid, highly saturated violet. Relative luminance 0.128; OKLCH L 52.9% C 0.228 H 290.0°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#7141E2
RGBrgb(113, 65, 226)
HSLhsl(258, 74%, 57%)
HSVhsv(258, 71%, 89%)
CMYKcmyk(50%, 71.2%, 0%, 11.4%)
CIE-LABlab(42.43, 57.09, -74.48)
CIE-LCHlch(42.43, 93.84, 307.47°)
OKLaboklab(52.9% 0.0778 -0.2138)
OKLCHoklch(52.9% 0.228 290)
XYZxyz(22.4239, 12.7813, 73.2223)
Luminance0.1278 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7141E2 #B2E241
analogous
#4162E2 #7141E2 #C141E2
triadic
#7141E2 #E27141 #41E271
tetradic
#7141E2 #E24162 #B2E241 #41E2C1
square
#7141E2 #E24162 #B2E241 #41E2C1
split-complementary
#7141E2 #E2C141 #62E241
monochromatic
#3B1692 #511EC7 #7141E2 #9976EA #C0ABF2

Accessibility & contrast

On white

5.90
#7141E2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#7141E2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7141E2
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7141E2#FFFFFF#000000##FFFFFF
##7141E21.005.903.565.90
#FFFFFF5.901.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067E7
Deuteranopia (green-blind)
#0060DF
Tritanopia (blue-blind)
#496C8E
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #7141e2;
/* rgb */ color: rgb(113, 65, 226);
/* oklch */ color: oklch(52.9% 0.228 290.0);
Tailwind
colors: {
  custom: {
    50: '#a47aec',
    500: '#7141e2',
    950: '#000000',
  },
}
SCSS
$custom: #7141e2;
$custom-light: #a47aec;
$custom-dark: #000000;
JSON
{
  "hex": "#7141e2",
  "rgb": {
    "r": 113,
    "g": 65,
    "b": 226
  },
  "hsl": {
    "h": 257.888,
    "s": 73.516,
    "l": 57.059
  },
  "oklch": {
    "l": 0.529,
    "c": 0.22756,
    "h": 290
  },
  "luminance": 0.12782
}

Semantic roles & 50–950 ramp

primary
#7141E2
secondary
#CDE09F
accent
#F038B9
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100916
muted
#7F7B84

Preview Lab

Preview with #7141E2

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

Preview Lab → · Contrast checker → · Palette generator →

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