#7150A5#7150A5

#7150A5 is a mid, vivid violet. Relative luminance 0.120; OKLCH L 50.6% C 0.133 H 299.6°. Best body text is #FFFFFF at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#7150A5
RGBrgb(113, 80, 165)
HSLhsl(263, 35%, 48%)
HSVhsv(263, 52%, 65%)
CMYKcmyk(31.5%, 51.5%, 0%, 35.3%)
CIE-LABlab(41.16, 32.37, -41.05)
CIE-LCHlch(41.16, 52.28, 308.25°)
OKLaboklab(50.61% 0.0656 -0.1157)
OKLCHoklch(50.61% 0.133 299.6)
XYZxyz(16.4686, 11.9645, 37.0318)
Luminance0.1197 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7150A5 #84A550
analogous
#5059A5 #7150A5 #9B50A5
triadic
#7150A5 #A57150 #50A571
tetradic
#7150A5 #A55059 #84A550 #50A59B
square
#7150A5 #A55059 #84A550 #50A59B
split-complementary
#7150A5 #A59B50 #59A550
monochromatic
#392853 #553C7C #7150A5 #9176BC #B29FD0

Accessibility & contrast

On white

6.19
#7150A5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #7150A5
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7150A5#FFFFFF#000000##FFFFFF
##7150A51.006.193.396.19
#FFFFFF6.191.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3361A8
Deuteranopia (green-blind)
#3B60A3
Tritanopia (blue-blind)
#666073
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #7150a5;
/* rgb */ color: rgb(113, 80, 165);
/* oklch */ color: oklch(50.6% 0.133 299.6);
Tailwind
colors: {
  custom: {
    50: '#9c82c0',
    500: '#7150a5',
    950: '#000000',
  },
}
SCSS
$custom: #7150a5;
$custom-light: #9c82c0;
$custom-dark: #000000;
JSON
{
  "hex": "#7150a5",
  "rgb": {
    "r": 113,
    "g": 80,
    "b": 165
  },
  "hsl": {
    "h": 263.294,
    "s": 34.694,
    "l": 48.039
  },
  "oklch": {
    "l": 0.50613,
    "c": 0.13301,
    "h": 299.6
  },
  "luminance": 0.11965
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7150A5

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

Preview Lab → · Contrast checker → · Palette generator →

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