#7150A4#7150A4

#7150A4 is a mid, vivid violet. Relative luminance 0.119; OKLCH L 50.6% C 0.132 H 299.8°. Best body text is #FFFFFF at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#7150A4
RGBrgb(113, 80, 164)
HSLhsl(264, 34%, 48%)
HSVhsv(264, 51%, 64%)
CMYKcmyk(31.1%, 51.2%, 0%, 35.7%)
CIE-LABlab(41.10, 32.11, -40.55)
CIE-LCHlch(41.10, 51.72, 308.37°)
OKLaboklab(50.55% 0.0655 -0.1142)
OKLCHoklch(50.55% 0.132 299.8)
XYZxyz(16.3780, 11.9283, 36.5543)
Luminance0.1193 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7150A4 #83A450
analogous
#5059A4 #7150A4 #9B50A4
triadic
#7150A4 #A47150 #50A471
tetradic
#7150A4 #A45059 #83A450 #50A49B
square
#7150A4 #A45059 #83A450 #50A49B
split-complementary
#7150A4 #A49B50 #59A450
monochromatic
#382852 #553C7B #7150A4 #9175BC #B29ED0

Accessibility & contrast

On white

6.20
#7150A4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#7150A4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7150A4
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7150A4#FFFFFF#000000##FFFFFF
##7150A41.006.203.396.20
#FFFFFF6.201.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3361A7
Deuteranopia (green-blind)
#3C60A2
Tritanopia (blue-blind)
#676072
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #7150a4;
/* rgb */ color: rgb(113, 80, 164);
/* oklch */ color: oklch(50.6% 0.132 299.8);
Tailwind
colors: {
  custom: {
    50: '#9c82bf',
    500: '#7150a4',
    950: '#000000',
  },
}
SCSS
$custom: #7150a4;
$custom-light: #9c82bf;
$custom-dark: #000000;
JSON
{
  "hex": "#7150a4",
  "rgb": {
    "r": 113,
    "g": 80,
    "b": 164
  },
  "hsl": {
    "h": 263.571,
    "s": 34.426,
    "l": 47.843
  },
  "oklch": {
    "l": 0.50551,
    "c": 0.13169,
    "h": 299.8
  },
  "luminance": 0.11928
}

Semantic roles & 50–950 ramp

primary
#7150A4
secondary
#ACBD93
accent
#CB5DA0
background
#F9F8FB
surface
#F2EFF7
border
#CCCAD0
text
#0E0A12
muted
#7E7C81

Preview Lab

Preview with #7150A4

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

Preview Lab → · Contrast checker → · Palette generator →

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