#7150EF#7150EF

#7150EF is a mid, highly saturated violet. Relative luminance 0.155; OKLCH L 56.0% C 0.226 H 286.1°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#7150EF
RGBrgb(113, 80, 239)
HSLhsl(252, 83%, 63%)
HSVhsv(252, 67%, 94%)
CMYKcmyk(52.7%, 66.5%, 0%, 6.3%)
CIE-LABlab(46.28, 52.98, -75.54)
CIE-LCHlch(46.28, 92.26, 305.05°)
OKLaboklab(55.98% 0.0626 -0.217)
OKLCHoklch(55.98% 0.226 286.1)
XYZxyz(25.2540, 15.4787, 83.3016)
Luminance0.1548 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7150EF #CEEF50
analogous
#507EEF #7150EF #C150EF
triadic
#7150EF #EF7150 #50EF71
tetradic
#7150EF #EF507E #CEEF50 #50EFC1
square
#7150EF #EF507E #CEEF50 #50EFC1
split-complementary
#7150EF #EFC150 #7EEF50
monochromatic
#3210B4 #4418EA #7150EF #9E88F4 #CCC0F9

Accessibility & contrast

On white

5.13
#7150EF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#7150EF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7150EF
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7150EF#FFFFFF#000000##FFFFFF
##7150EF1.005.134.105.13
#FFFFFF5.131.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072F4
Deuteranopia (green-blind)
#0069EC
Tritanopia (blue-blind)
#3D7899
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #7150ef;
/* rgb */ color: rgb(113, 80, 239);
/* oklch */ color: oklch(56.0% 0.226 286.1);
Tailwind
colors: {
  custom: {
    50: '#a583f5',
    500: '#7150ef',
    950: '#000000',
  },
}
SCSS
$custom: #7150ef;
$custom-light: #a583f5;
$custom-dark: #000000;
JSON
{
  "hex": "#7150ef",
  "rgb": {
    "r": 113,
    "g": 80,
    "b": 239
  },
  "hsl": {
    "h": 252.453,
    "s": 83.246,
    "l": 62.549
  },
  "oklch": {
    "l": 0.55977,
    "c": 0.22585,
    "h": 286.1
  },
  "luminance": 0.1548
}

Semantic roles & 50–950 ramp

primary
#7150EF
secondary
#DEEAB0
accent
#E006B2
background
#FAF8FF
surface
#F4EFFF
border
#CECAD7
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #7150EF

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

Preview Lab → · Contrast checker → · Palette generator →

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