#7150EA#7150EA

#7150EA is a mid, highly saturated violet. Relative luminance 0.152; OKLCH L 55.6% C 0.220 H 286.7°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#7150EA
RGBrgb(113, 80, 234)
HSLhsl(253, 79%, 62%)
HSVhsv(253, 66%, 92%)
CMYKcmyk(51.7%, 65.8%, 0%, 8.2%)
CIE-LABlab(45.89, 51.55, -73.36)
CIE-LCHlch(45.89, 89.66, 305.10°)
OKLaboklab(55.57% 0.0633 -0.2106)
OKLCHoklch(55.57% 0.22 286.7)
XYZxyz(24.5256, 15.1873, 79.4651)
Luminance0.1519 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7150EA #C9EA50
analogous
#507CEA #7150EA #BE50EA
triadic
#7150EA #EA7150 #50EA71
tetradic
#7150EA #EA507C #C9EA50 #50EABE
square
#7150EA #EA507C #C9EA50 #50EABE
split-complementary
#7150EA #EABE50 #7CEA50
monochromatic
#3515AB #461BE2 #7150EA #9D87F1 #CABDF7

Accessibility & contrast

On white

5.20
#7150EA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#7150EA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7150EA
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7150EA#FFFFFF#000000##FFFFFF
##7150EA1.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071EF
Deuteranopia (green-blind)
#0068E7
Tritanopia (blue-blind)
#427796
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #7150ea;
/* rgb */ color: rgb(113, 80, 234);
/* oklch */ color: oklch(55.6% 0.220 286.7);
Tailwind
colors: {
  custom: {
    50: '#a483f2',
    500: '#7150ea',
    950: '#000000',
  },
}
SCSS
$custom: #7150ea;
$custom-light: #a483f2;
$custom-dark: #000000;
JSON
{
  "hex": "#7150ea",
  "rgb": {
    "r": 113,
    "g": 80,
    "b": 234
  },
  "hsl": {
    "h": 252.857,
    "s": 78.571,
    "l": 61.569
  },
  "oklch": {
    "l": 0.55571,
    "c": 0.21991,
    "h": 286.7
  },
  "luminance": 0.15189
}

Semantic roles & 50–950 ramp

primary
#7150EA
secondary
#DBE8AE
accent
#DB0BAE
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #7150EA

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

Preview Lab → · Contrast checker → · Palette generator →

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