#7127AF#7127AF

#7127AF is a mid, highly saturated violet. Relative luminance 0.081; OKLCH L 45.7% C 0.201 H 303.9°. Best body text is #FFFFFF at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#7127AF
RGBrgb(113, 39, 175)
HSLhsl(273, 64%, 42%)
HSVhsv(273, 78%, 69%)
CMYKcmyk(35.4%, 77.7%, 0%, 31.4%)
CIE-LABlab(34.10, 55.87, -58.39)
CIE-LCHlch(34.10, 80.82, 313.73°)
OKLaboklab(45.72% 0.112 -0.1665)
OKLCHoklch(45.72% 0.201 303.9)
XYZxyz(15.2716, 8.0569, 41.2997)
Luminance0.0806 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7127AF #65AF27
analogous
#2D27AF #7127AF #AF27A9
triadic
#7127AF #AF7127 #27AF71
tetradic
#7127AF #AF2D27 #65AF27 #27A9AF
square
#7127AF #AF2D27 #65AF27 #27A9AF
split-complementary
#7127AF #A9AF27 #27AF2D
monochromatic
#30114B #511C7D #7127AF #903FD4 #AD71DF

Accessibility & contrast

On white

8.04
#7127AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#7127AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7127AF
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7127AF#FFFFFF#000000##FFFFFF
##7127AF1.008.042.618.04
#FFFFFF8.041.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB3
Deuteranopia (green-blind)
#0050AC
Tritanopia (blue-blind)
#654A6A
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #7127af;
/* rgb */ color: rgb(113, 39, 175);
/* oklch */ color: oklch(45.7% 0.201 303.9);
Tailwind
colors: {
  custom: {
    50: '#a06ac8',
    500: '#7127af',
    950: '#000000',
  },
}
SCSS
$custom: #7127af;
$custom-light: #a06ac8;
$custom-dark: #000000;
JSON
{
  "hex": "#7127af",
  "rgb": {
    "r": 113,
    "g": 39,
    "b": 175
  },
  "hsl": {
    "h": 272.647,
    "s": 63.551,
    "l": 41.961
  },
  "oklch": {
    "l": 0.45723,
    "c": 0.20064,
    "h": 303.9
  },
  "luminance": 0.08057
}

Semantic roles & 50–950 ramp

primary
#7127AF
secondary
#95C66B
accent
#E7418D
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #7127AF

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

Preview Lab → · Contrast checker → · Palette generator →

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