#7150EB#7150EB

#7150EB is a mid, highly saturated violet. Relative luminance 0.152; OKLCH L 55.7% C 0.221 H 286.6°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#7150EB
RGBrgb(113, 80, 235)
HSLhsl(253, 79%, 62%)
HSVhsv(253, 66%, 92%)
CMYKcmyk(51.9%, 66%, 0%, 7.8%)
CIE-LABlab(45.97, 51.84, -73.80)
CIE-LCHlch(45.97, 90.19, 305.09°)
OKLaboklab(55.65% 0.0631 -0.2119)
OKLCHoklch(55.65% 0.221 286.6)
XYZxyz(24.6697, 15.2449, 80.2238)
Luminance0.1525 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7150EB #CAEB50
analogous
#507DEB #7150EB #BE50EB
triadic
#7150EB #EB7150 #50EB71
tetradic
#7150EB #EB507D #CAEB50 #50EBBE
square
#7150EB #EB507D #CAEB50 #50EBBE
split-complementary
#7150EB #EBBE50 #7DEB50
monochromatic
#3414AD #451AE4 #7150EB #9E87F1 #CABEF8

Accessibility & contrast

On white

5.19
#7150EB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#7150EB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7150EB
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7150EB#FFFFFF#000000##FFFFFF
##7150EB1.005.194.055.19
#FFFFFF5.191.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071F0
Deuteranopia (green-blind)
#0068E8
Tritanopia (blue-blind)
#417797
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #7150eb;
/* rgb */ color: rgb(113, 80, 235);
/* oklch */ color: oklch(55.7% 0.221 286.6);
Tailwind
colors: {
  custom: {
    50: '#a483f3',
    500: '#7150eb',
    950: '#000000',
  },
}
SCSS
$custom: #7150eb;
$custom-light: #a483f3;
$custom-dark: #000000;
JSON
{
  "hex": "#7150eb",
  "rgb": {
    "r": 113,
    "g": 80,
    "b": 235
  },
  "hsl": {
    "h": 252.774,
    "s": 79.487,
    "l": 61.765
  },
  "oklch": {
    "l": 0.55652,
    "c": 0.2211,
    "h": 286.6
  },
  "luminance": 0.15246
}

Semantic roles & 50–950 ramp

primary
#7150EB
secondary
#DCE8AF
accent
#DC0AAF
background
#FAF8FF
surface
#F4EFFE
border
#CECAD6
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #7150EB

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

Preview Lab → · Contrast checker → · Palette generator →

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