#7150E5#7150E5

#7150E5 is a mid, highly saturated violet. Relative luminance 0.149; OKLCH L 55.2% C 0.214 H 287.4°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#7150E5
RGBrgb(113, 80, 229)
HSLhsl(253, 74%, 61%)
HSVhsv(253, 65%, 90%)
CMYKcmyk(50.7%, 65.1%, 0%, 10.2%)
CIE-LABlab(45.50, 50.13, -71.17)
CIE-LCHlch(45.50, 87.05, 305.16°)
OKLaboklab(55.17% 0.0639 -0.2042)
OKLCHoklch(55.17% 0.214 287.4)
XYZxyz(23.8174, 14.9040, 75.7353)
Luminance0.1490 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7150E5 #C4E550
analogous
#5079E5 #7150E5 #BC50E5
triadic
#7150E5 #E57150 #50E571
tetradic
#7150E5 #E55079 #C4E550 #50E5BC
square
#7150E5 #E55079 #C4E550 #50E5BC
split-complementary
#7150E5 #E5BC50 #79E550
monochromatic
#3718A2 #4920D8 #7150E5 #9C85ED #C7BBF5

Accessibility & contrast

On white

5.28
#7150E5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#7150E5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7150E5
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7150E5#FFFFFF#000000##FFFFFF
##7150E51.005.283.985.28
#FFFFFF5.281.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FEA
Deuteranopia (green-blind)
#0068E2
Tritanopia (blue-blind)
#467594
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #7150e5;
/* rgb */ color: rgb(113, 80, 229);
/* oklch */ color: oklch(55.2% 0.214 287.4);
Tailwind
colors: {
  custom: {
    50: '#a383ee',
    500: '#7150e5',
    950: '#000000',
  },
}
SCSS
$custom: #7150e5;
$custom-light: #a383ee;
$custom-dark: #000000;
JSON
{
  "hex": "#7150e5",
  "rgb": {
    "r": 113,
    "g": 80,
    "b": 229
  },
  "hsl": {
    "h": 253.289,
    "s": 74.129,
    "l": 60.588
  },
  "oklch": {
    "l": 0.55172,
    "c": 0.21393,
    "h": 287.4
  },
  "luminance": 0.14905
}

Semantic roles & 50–950 ramp

primary
#7150E5
secondary
#D8E5AC
accent
#D60FAA
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #7150E5

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

Preview Lab → · Contrast checker → · Palette generator →

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