#7E15CA#7E15CA

#7E15CA is a mid, highly saturated violet. Relative luminance 0.092; OKLCH L 48.4% C 0.241 H 303.6°. Best body text is #FFFFFF at 7.38:1 contrast (WCAG AA passes).

Color values

HEX#7E15CA
RGBrgb(126, 21, 202)
HSLhsl(275, 81%, 44%)
HSVhsv(275, 90%, 79%)
CMYKcmyk(37.6%, 89.6%, 0%, 20.8%)
CIE-LABlab(36.44, 69.04, -70.42)
CIE-LCHlch(36.44, 98.62, 314.43°)
OKLaboklab(48.43% 0.1335 -0.2012)
OKLCHoklch(48.43% 0.241 303.6)
XYZxyz(19.5305, 9.2362, 56.6195)
Luminance0.0924 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E15CA #61CA15
analogous
#2415CA #7E15CA #CA15BB
triadic
#7E15CA #CA7E15 #15CA7E
tetradic
#7E15CA #CA2415 #61CA15 #15BBCA
square
#7E15CA #CA2415 #61CA15 #15BBCA
split-complementary
#7E15CA #BBCA15 #15CA24
monochromatic
#39095B #5B0F93 #7E15CA #9D32EA #B76AEF

Accessibility & contrast

On white

7.38
#7E15CA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#7E15CA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E15CA
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E15CA#FFFFFF#000000##FFFFFF
##7E15CA1.007.382.857.38
#FFFFFF7.381.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054CE
Deuteranopia (green-blind)
#0055C7
Tritanopia (blue-blind)
#6E4F77
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #7e15ca;
/* rgb */ color: rgb(126, 21, 202);
/* oklch */ color: oklch(48.4% 0.241 303.6);
Tailwind
colors: {
  custom: {
    50: '#ab67db',
    500: '#7e15ca',
    950: '#000000',
  },
}
SCSS
$custom: #7e15ca;
$custom-light: #ab67db;
$custom-dark: #000000;
JSON
{
  "hex": "#7e15ca",
  "rgb": {
    "r": 126,
    "g": 21,
    "b": 202
  },
  "hsl": {
    "h": 274.807,
    "s": 81.166,
    "l": 43.725
  },
  "oklch": {
    "l": 0.48434,
    "c": 0.24143,
    "h": 303.6
  },
  "luminance": 0.09236
}

Semantic roles & 50–950 ramp

primary
#7E15CA
secondary
#95D566
accent
#F83084
background
#FBF6FD
surface
#F6EBFB
border
#D0C6D4
text
#110715
muted
#807A83

Preview Lab

Preview with #7E15CA

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

Preview Lab → · Contrast checker → · Palette generator →

#7E15CA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva