#7150AE#7150AE

#7150AE is a mid, vivid violet. Relative luminance 0.123; OKLCH L 51.2% C 0.145 H 297.2°. Best body text is #FFFFFF at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#7150AE
RGBrgb(113, 80, 174)
HSLhsl(261, 37%, 50%)
HSVhsv(261, 54%, 68%)
CMYKcmyk(35.1%, 54%, 0%, 31.8%)
CIE-LABlab(41.69, 34.77, -45.53)
CIE-LCHlch(41.69, 57.29, 307.36°)
OKLaboklab(51.18% 0.0662 -0.1288)
OKLCHoklch(51.18% 0.145 297.2)
XYZxyz(17.3168, 12.3038, 41.4987)
Luminance0.1230 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7150AE #8DAE50
analogous
#505EAE #7150AE #A050AE
triadic
#7150AE #AE7150 #50AE71
tetradic
#7150AE #AE505E #8DAE50 #50AEA0
square
#7150AE #AE505E #8DAE50 #50AEA0
split-complementary
#7150AE #AEA050 #5EAE50
monochromatic
#3B295A #563D84 #7150AE #937AC2 #B5A3D5

Accessibility & contrast

On white

6.07
#7150AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#7150AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7150AE#FFFFFF#000000##FFFFFF
##7150AE1.006.073.466.07
#FFFFFF6.071.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A63B1
Deuteranopia (green-blind)
#3361AC
Tritanopia (blue-blind)
#636377
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #7150ae;
/* rgb */ color: rgb(113, 80, 174);
/* oklch */ color: oklch(51.2% 0.145 297.2);
Tailwind
colors: {
  custom: {
    50: '#9d82c7',
    500: '#7150ae',
    950: '#000000',
  },
}
SCSS
$custom: #7150ae;
$custom-light: #9d82c7;
$custom-dark: #000000;
JSON
{
  "hex": "#7150ae",
  "rgb": {
    "r": 113,
    "g": 80,
    "b": 174
  },
  "hsl": {
    "h": 261.064,
    "s": 37.008,
    "l": 49.804
  },
  "oklch": {
    "l": 0.51183,
    "c": 0.14485,
    "h": 297.2
  },
  "luminance": 0.12304
}

Semantic roles & 50–950 ramp

primary
#7150AE
secondary
#B3C298
accent
#CD5BA5
background
#F9F8FC
surface
#F2EFF8
border
#CCCAD1
text
#0F0A13
muted
#7E7C82

Preview Lab

Preview with #7150AE

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

Preview Lab → · Contrast checker → · Palette generator →

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