#7150AF#7150AF

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

Color values

HEX#7150AF
RGBrgb(113, 80, 175)
HSLhsl(261, 37%, 50%)
HSVhsv(261, 54%, 69%)
CMYKcmyk(35.4%, 54.3%, 0%, 31.4%)
CIE-LABlab(41.76, 35.04, -46.03)
CIE-LCHlch(41.76, 57.84, 307.28°)
OKLaboklab(51.25% 0.0663 -0.1303)
OKLCHoklch(51.25% 0.146 297)
XYZxyz(17.4146, 12.3429, 42.0141)
Luminance0.1234 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7150AF #8EAF50
analogous
#505FAF #7150AF #A050AF
triadic
#7150AF #AF7150 #50AF71
tetradic
#7150AF #AF505F #8EAF50 #50AFA0
square
#7150AF #AF505F #8EAF50 #50AFA0
split-complementary
#7150AF #AFA050 #5FAF50
monochromatic
#3B2A5B #563D85 #7150AF #937AC2 #B5A4D5

Accessibility & contrast

On white

6.05
#7150AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#7150AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7150AF#FFFFFF#000000##FFFFFF
##7150AF1.006.053.476.05
#FFFFFF6.051.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2963B2
Deuteranopia (green-blind)
#3261AD
Tritanopia (blue-blind)
#636378
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #7150af;
/* rgb */ color: rgb(113, 80, 175);
/* oklch */ color: oklch(51.2% 0.146 297.0);
Tailwind
colors: {
  custom: {
    50: '#9d82c7',
    500: '#7150af',
    950: '#000000',
  },
}
SCSS
$custom: #7150af;
$custom-light: #9d82c7;
$custom-dark: #000000;
JSON
{
  "hex": "#7150af",
  "rgb": {
    "r": 113,
    "g": 80,
    "b": 175
  },
  "hsl": {
    "h": 260.842,
    "s": 37.255,
    "l": 50
  },
  "oklch": {
    "l": 0.51248,
    "c": 0.14616,
    "h": 297
  },
  "luminance": 0.12343
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7150AF

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

Preview Lab → · Contrast checker → · Palette generator →

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