#7156AF#7156AF

#7156AF is a mid, vivid violet. Relative luminance 0.133; OKLCH L 52.3% C 0.137 H 295.3°. Best body text is #FFFFFF at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#7156AF
RGBrgb(113, 86, 175)
HSLhsl(258, 36%, 51%)
HSVhsv(258, 51%, 69%)
CMYKcmyk(35.4%, 50.9%, 0%, 31.4%)
CIE-LABlab(43.15, 31.48, -43.79)
CIE-LCHlch(43.15, 53.93, 305.71°)
OKLaboklab(52.29% 0.0584 -0.1237)
OKLCHoklch(52.29% 0.137 295.3)
XYZxyz(17.8737, 13.2611, 42.1671)
Luminance0.1326 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7156AF #94AF56
analogous
#5667AF #7156AF #9D56AF
triadic
#7156AF #AF7156 #56AF71
tetradic
#7156AF #AF5667 #94AF56 #56AF9D
square
#7156AF #AF5667 #94AF56 #56AF9D
split-complementary
#7156AF #AF9D56 #67AF56
monochromatic
#3C2D5E #564088 #7156AF #9480C3 #B7A9D6

Accessibility & contrast

On white

5.75
#7156AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#7156AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7156AF
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7156AF#FFFFFF#000000##FFFFFF
##7156AF1.005.753.655.75
#FFFFFF5.751.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3567B2
Deuteranopia (green-blind)
#3B65AD
Tritanopia (blue-blind)
#63677A
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #7156af;
/* rgb */ color: rgb(113, 86, 175);
/* oklch */ color: oklch(52.3% 0.137 295.3);
Tailwind
colors: {
  custom: {
    50: '#9d86c7',
    500: '#7156af',
    950: '#000000',
  },
}
SCSS
$custom: #7156af;
$custom-light: #9d86c7;
$custom-dark: #000000;
JSON
{
  "hex": "#7156af",
  "rgb": {
    "r": 113,
    "g": 86,
    "b": 175
  },
  "hsl": {
    "h": 258.202,
    "s": 35.743,
    "l": 51.176
  },
  "oklch": {
    "l": 0.52287,
    "c": 0.13678,
    "h": 295.3
  },
  "luminance": 0.13261
}

Semantic roles & 50–950 ramp

primary
#7156AF
secondary
#B8C49D
accent
#CC5CAA
background
#F9F8FC
surface
#F2EFF8
border
#CCCAD1
text
#0F0B13
muted
#7E7C82

Preview Lab

Preview with #7156AF

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

Preview Lab → · Contrast checker → · Palette generator →

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