#7150E8#7150E8

#7150E8 is a mid, highly saturated violet. Relative luminance 0.151; OKLCH L 55.4% C 0.218 H 287.0°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#7150E8
RGBrgb(113, 80, 232)
HSLhsl(253, 77%, 61%)
HSVhsv(253, 66%, 91%)
CMYKcmyk(51.3%, 65.5%, 0%, 9%)
CIE-LABlab(45.73, 50.98, -72.49)
CIE-LCHlch(45.73, 88.62, 305.12°)
OKLaboklab(55.41% 0.0635 -0.208)
OKLCHoklch(55.41% 0.218 287)
XYZxyz(24.2399, 15.0730, 77.9604)
Luminance0.1507 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7150E8 #C7E850
analogous
#507BE8 #7150E8 #BD50E8
triadic
#7150E8 #E87150 #50E871
tetradic
#7150E8 #E8507B #C7E850 #50E8BD
square
#7150E8 #E8507B #C7E850 #50E8BD
split-complementary
#7150E8 #E8BD50 #7BE850
monochromatic
#3616A8 #471DDE #7150E8 #9D86EF #C9BCF6

Accessibility & contrast

On white

5.23
#7150E8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#7150E8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7150E8
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7150E8#FFFFFF#000000##FFFFFF
##7150E81.005.234.015.23
#FFFFFF5.231.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070ED
Deuteranopia (green-blind)
#0068E5
Tritanopia (blue-blind)
#437695
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #7150e8;
/* rgb */ color: rgb(113, 80, 232);
/* oklch */ color: oklch(55.4% 0.218 287.0);
Tailwind
colors: {
  custom: {
    50: '#a483f0',
    500: '#7150e8',
    950: '#000000',
  },
}
SCSS
$custom: #7150e8;
$custom-light: #a483f0;
$custom-dark: #000000;
JSON
{
  "hex": "#7150e8",
  "rgb": {
    "r": 113,
    "g": 80,
    "b": 232
  },
  "hsl": {
    "h": 253.026,
    "s": 76.768,
    "l": 61.176
  },
  "oklch": {
    "l": 0.55411,
    "c": 0.21752,
    "h": 287
  },
  "luminance": 0.15074
}

Semantic roles & 50–950 ramp

primary
#7150E8
secondary
#DAE6AD
accent
#D90DAD
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #7150E8

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

Preview Lab → · Contrast checker → · Palette generator →

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