#7150AA#7150AA

#7150AA is a mid, vivid violet. Relative luminance 0.121; OKLCH L 50.9% C 0.140 H 298.2°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#7150AA
RGBrgb(113, 80, 170)
HSLhsl(262, 36%, 49%)
HSVhsv(262, 53%, 67%)
CMYKcmyk(33.5%, 52.9%, 0%, 33.3%)
CIE-LABlab(41.45, 33.69, -43.55)
CIE-LCHlch(41.45, 55.07, 307.73°)
OKLaboklab(50.93% 0.066 -0.123)
OKLCHoklch(50.93% 0.14 298.2)
XYZxyz(16.9326, 12.1501, 39.4755)
Luminance0.1215 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7150AA #89AA50
analogous
#505CAA #7150AA #9E50AA
triadic
#7150AA #AA7150 #50AA71
tetradic
#7150AA #AA505C #89AA50 #50AA9E
square
#7150AA #AA505C #89AA50 #50AA9E
split-complementary
#7150AA #AA9E50 #5CAA50
monochromatic
#3A2957 #553C80 #7150AA #9278BF #B4A1D3

Accessibility & contrast

On white

6.12
#7150AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#7150AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7150AA#FFFFFF#000000##FFFFFF
##7150AA1.006.123.436.12
#FFFFFF6.121.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E62AD
Deuteranopia (green-blind)
#3761A8
Tritanopia (blue-blind)
#656275
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #7150aa;
/* rgb */ color: rgb(113, 80, 170);
/* oklch */ color: oklch(50.9% 0.140 298.2);
Tailwind
colors: {
  custom: {
    50: '#9d82c4',
    500: '#7150aa',
    950: '#000000',
  },
}
SCSS
$custom: #7150aa;
$custom-light: #9d82c4;
$custom-dark: #000000;
JSON
{
  "hex": "#7150aa",
  "rgb": {
    "r": 113,
    "g": 80,
    "b": 170
  },
  "hsl": {
    "h": 262,
    "s": 36,
    "l": 49.02
  },
  "oklch": {
    "l": 0.50926,
    "c": 0.1396,
    "h": 298.2
  },
  "luminance": 0.1215
}

Semantic roles & 50–950 ramp

primary
#7150AA
secondary
#B1C096
accent
#CC5CA3
background
#F9F8FC
surface
#F2EFF8
border
#CCCAD1
text
#0F0A13
muted
#7E7C82

Preview Lab

Preview with #7150AA

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

Preview Lab → · Contrast checker → · Palette generator →

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