#7150A3#7150A3

#7150A3 is a mid, vivid violet. Relative luminance 0.119; OKLCH L 50.5% C 0.130 H 300.1°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#7150A3
RGBrgb(113, 80, 163)
HSLhsl(264, 34%, 48%)
HSVhsv(264, 51%, 64%)
CMYKcmyk(30.7%, 50.9%, 0%, 36.1%)
CIE-LABlab(41.04, 31.84, -40.05)
CIE-LCHlch(41.04, 51.16, 308.49°)
OKLaboklab(50.49% 0.0654 -0.1127)
OKLCHoklch(50.49% 0.13 300.1)
XYZxyz(16.2880, 11.8923, 36.0806)
Luminance0.1189 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7150A3 #82A350
analogous
#5059A3 #7150A3 #9A50A3
triadic
#7150A3 #A37150 #50A371
tetradic
#7150A3 #A35059 #82A350 #50A39A
square
#7150A3 #A35059 #82A350 #50A39A
split-complementary
#7150A3 #A39A50 #59A350
monochromatic
#382851 #553C7A #7150A3 #9175BB #B29ECF

Accessibility & contrast

On white

6.22
#7150A3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#7150A3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7150A3
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7150A3#FFFFFF#000000##FFFFFF
##7150A31.006.223.386.22
#FFFFFF6.221.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3461A6
Deuteranopia (green-blind)
#3D60A1
Tritanopia (blue-blind)
#676072
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #7150a3;
/* rgb */ color: rgb(113, 80, 163);
/* oklch */ color: oklch(50.5% 0.130 300.1);
Tailwind
colors: {
  custom: {
    50: '#9c82bf',
    500: '#7150a3',
    950: '#000000',
  },
}
SCSS
$custom: #7150a3;
$custom-light: #9c82bf;
$custom-dark: #000000;
JSON
{
  "hex": "#7150a3",
  "rgb": {
    "r": 113,
    "g": 80,
    "b": 163
  },
  "hsl": {
    "h": 263.855,
    "s": 34.156,
    "l": 47.647
  },
  "oklch": {
    "l": 0.5049,
    "c": 0.13036,
    "h": 300.1
  },
  "luminance": 0.11892
}

Semantic roles & 50–950 ramp

primary
#7150A3
secondary
#ACBC92
accent
#CA5E9F
background
#F9F8FB
surface
#F2EFF7
border
#CCCAD0
text
#0E0A12
muted
#7E7C81

Preview Lab

Preview with #7150A3

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

Preview Lab → · Contrast checker → · Palette generator →

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