#7150EC#7150EC

#7150EC is a mid, highly saturated violet. Relative luminance 0.153; OKLCH L 55.7% C 0.222 H 286.5°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#7150EC
RGBrgb(113, 80, 236)
HSLhsl(253, 80%, 62%)
HSVhsv(253, 66%, 93%)
CMYKcmyk(52.1%, 66.1%, 0%, 7.5%)
CIE-LABlab(46.05, 52.12, -74.23)
CIE-LCHlch(46.05, 90.71, 305.08°)
OKLaboklab(55.73% 0.063 -0.2132)
OKLCHoklch(55.73% 0.222 286.5)
XYZxyz(24.8145, 15.3029, 80.9868)
Luminance0.1530 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7150EC #CBEC50
analogous
#507DEC #7150EC #BF50EC
triadic
#7150EC #EC7150 #50EC71
tetradic
#7150EC #EC507D #CBEC50 #50ECBF
square
#7150EC #EC507D #CBEC50 #50ECBF
split-complementary
#7150EC #ECBF50 #7DEC50
monochromatic
#3413AF #4419E6 #7150EC #9E87F2 #CBBEF8

Accessibility & contrast

On white

5.17
#7150EC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#7150EC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7150EC
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7150EC#FFFFFF#000000##FFFFFF
##7150EC1.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071F1
Deuteranopia (green-blind)
#0069E9
Tritanopia (blue-blind)
#407797
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #7150ec;
/* rgb */ color: rgb(113, 80, 236);
/* oklch */ color: oklch(55.7% 0.222 286.5);
Tailwind
colors: {
  custom: {
    50: '#a483f3',
    500: '#7150ec',
    950: '#000000',
  },
}
SCSS
$custom: #7150ec;
$custom-light: #a483f3;
$custom-dark: #000000;
JSON
{
  "hex": "#7150ec",
  "rgb": {
    "r": 113,
    "g": 80,
    "b": 236
  },
  "hsl": {
    "h": 252.692,
    "s": 80.412,
    "l": 61.961
  },
  "oklch": {
    "l": 0.55733,
    "c": 0.22229,
    "h": 286.5
  },
  "luminance": 0.15304
}

Semantic roles & 50–950 ramp

primary
#7150EC
secondary
#DCE9AF
accent
#DD09B0
background
#FAF8FF
surface
#F4EFFE
border
#CECAD6
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #7150EC

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

Preview Lab → · Contrast checker → · Palette generator →

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