#7150E2#7150E2

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

Color values

HEX#7150E2
RGBrgb(113, 80, 226)
HSLhsl(254, 72%, 60%)
HSVhsv(254, 65%, 89%)
CMYKcmyk(50%, 64.6%, 0%, 11.4%)
CIE-LABlab(45.27, 49.28, -69.84)
CIE-LCHlch(45.27, 85.47, 305.20°)
OKLaboklab(54.93% 0.0643 -0.2003)
OKLCHoklch(54.93% 0.21 287.8)
XYZxyz(23.4022, 14.7379, 73.5484)
Luminance0.1474 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7150E2 #C1E250
analogous
#5078E2 #7150E2 #BA50E2
triadic
#7150E2 #E27150 #50E271
tetradic
#7150E2 #E25078 #C1E250 #50E2BA
square
#7150E2 #E25078 #C1E250 #50E2BA
split-complementary
#7150E2 #E2BA50 #78E250
monochromatic
#381A9E #4A23D2 #7150E2 #9C84EB #C6B9F3

Accessibility & contrast

On white

5.32
#7150E2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#7150E2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7150E2
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7150E2#FFFFFF#000000##FFFFFF
##7150E21.005.323.955.32
#FFFFFF5.321.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FE7
Deuteranopia (green-blind)
#0067DF
Tritanopia (blue-blind)
#487492
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #7150e2;
/* rgb */ color: rgb(113, 80, 226);
/* oklch */ color: oklch(54.9% 0.210 287.8);
Tailwind
colors: {
  custom: {
    50: '#a383ec',
    500: '#7150e2',
    950: '#000000',
  },
}
SCSS
$custom: #7150e2;
$custom-light: #a383ec;
$custom-dark: #000000;
JSON
{
  "hex": "#7150e2",
  "rgb": {
    "r": 113,
    "g": 80,
    "b": 226
  },
  "hsl": {
    "h": 253.562,
    "s": 71.569,
    "l": 60
  },
  "oklch": {
    "l": 0.54934,
    "c": 0.21031,
    "h": 287.8
  },
  "luminance": 0.14739
}

Semantic roles & 50–950 ramp

primary
#7150E2
secondary
#D6E3AB
accent
#EE39C5
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #7150E2

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

Preview Lab → · Contrast checker → · Palette generator →

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