#7127A5#7127A5

#7127A5 is a dark, vivid violet. Relative luminance 0.077; OKLCH L 44.9% C 0.191 H 306.8°. Best body text is #FFFFFF at 8.28:1 contrast (WCAG AA passes).

Color values

HEX#7127A5
RGBrgb(113, 39, 165)
HSLhsl(275, 62%, 40%)
HSVhsv(275, 76%, 65%)
CMYKcmyk(31.5%, 76.4%, 0%, 35.3%)
CIE-LABlab(33.30, 53.57, -53.69)
CIE-LCHlch(33.30, 75.85, 314.93°)
OKLaboklab(44.92% 0.1143 -0.1526)
OKLCHoklch(44.92% 0.191 306.8)
XYZxyz(14.3256, 7.6785, 36.3174)
Luminance0.0768 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7127A5 #5BA527
analogous
#3227A5 #7127A5 #A5279A
triadic
#7127A5 #A57127 #27A571
tetradic
#7127A5 #A53227 #5BA527 #279AA5
square
#7127A5 #A53227 #5BA527 #279AA5
split-complementary
#7127A5 #9AA527 #27A532
monochromatic
#2D1042 #4F1B74 #7127A5 #9239D0 #AD6ADC

Accessibility & contrast

On white

8.28
#7127A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#7127A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7127A5
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7127A5#FFFFFF#000000##FFFFFF
##7127A51.008.282.548.28
#FFFFFF8.281.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CA9
Deuteranopia (green-blind)
#004FA2
Tritanopia (blue-blind)
#684665
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #7127a5;
/* rgb */ color: rgb(113, 39, 165);
/* oklch */ color: oklch(44.9% 0.191 306.8);
Tailwind
colors: {
  custom: {
    50: '#9f69c1',
    500: '#7127a5',
    950: '#000000',
  },
}
SCSS
$custom: #7127a5;
$custom-light: #9f69c1;
$custom-dark: #000000;
JSON
{
  "hex": "#7127a5",
  "rgb": {
    "r": 113,
    "g": 39,
    "b": 165
  },
  "hsl": {
    "h": 275.238,
    "s": 61.765,
    "l": 40
  },
  "oklch": {
    "l": 0.44915,
    "c": 0.19072,
    "h": 306.8
  },
  "luminance": 0.07678
}

Semantic roles & 50–950 ramp

primary
#7127A5
secondary
#8CC266
accent
#E54386
background
#FAF6FB
surface
#F4EBF7
border
#CEC6D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #7127A5

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

Preview Lab → · Contrast checker → · Palette generator →

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