#7150E1#7150E1

#7150E1 is a mid, highly saturated violet. Relative luminance 0.147; OKLCH L 54.9% C 0.209 H 287.9°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#7150E1
RGBrgb(113, 80, 225)
HSLhsl(254, 71%, 60%)
HSVhsv(254, 64%, 88%)
CMYKcmyk(49.8%, 64.4%, 0%, 11.8%)
CIE-LABlab(45.20, 48.99, -69.40)
CIE-LCHlch(45.20, 84.95, 305.22°)
OKLaboklab(54.86% 0.0644 -0.199)
OKLCHoklch(54.86% 0.209 287.9)
XYZxyz(23.2654, 14.6832, 72.8278)
Luminance0.1468 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7150E1 #C0E150
analogous
#5078E1 #7150E1 #B950E1
triadic
#7150E1 #E17150 #50E171
tetradic
#7150E1 #E15078 #C0E150 #50E1B9
square
#7150E1 #E15078 #C0E150 #50E1B9
split-complementary
#7150E1 #E1B950 #78E150
monochromatic
#381B9C #4B24D0 #7150E1 #9B84EA #C6B8F3

Accessibility & contrast

On white

5.33
#7150E1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#7150E1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7150E1
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7150E1#FFFFFF#000000##FFFFFF
##7150E11.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EE6
Deuteranopia (green-blind)
#0067DE
Tritanopia (blue-blind)
#497391
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #7150e1;
/* rgb */ color: rgb(113, 80, 225);
/* oklch */ color: oklch(54.9% 0.209 287.9);
Tailwind
colors: {
  custom: {
    50: '#a383eb',
    500: '#7150e1',
    950: '#000000',
  },
}
SCSS
$custom: #7150e1;
$custom-light: #a383eb;
$custom-dark: #000000;
JSON
{
  "hex": "#7150e1",
  "rgb": {
    "r": 113,
    "g": 80,
    "b": 225
  },
  "hsl": {
    "h": 253.655,
    "s": 70.732,
    "l": 59.804
  },
  "oklch": {
    "l": 0.54856,
    "c": 0.20911,
    "h": 287.9
  },
  "luminance": 0.14684
}

Semantic roles & 50–950 ramp

primary
#7150E1
secondary
#D6E2AA
accent
#ED3AC5
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #7150E1

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

Preview Lab → · Contrast checker → · Palette generator →

#7150E1 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva