#7127B1#7127B1

#7127B1 is a mid, highly saturated violet. Relative luminance 0.081; OKLCH L 45.9% C 0.203 H 303.4°. Best body text is #FFFFFF at 7.99:1 contrast (WCAG AA passes).

Color values

HEX#7127B1
RGBrgb(113, 39, 177)
HSLhsl(272, 64%, 42%)
HSVhsv(272, 78%, 69%)
CMYKcmyk(36.2%, 78%, 0%, 30.6%)
CIE-LABlab(34.26, 56.33, -59.32)
CIE-LCHlch(34.26, 81.81, 313.52°)
OKLaboklab(45.89% 0.1115 -0.1692)
OKLCHoklch(45.89% 0.203 303.4)
XYZxyz(15.4695, 8.1361, 42.3419)
Luminance0.0814 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7127B1 #67B127
analogous
#2C27B1 #7127B1 #B127AC
triadic
#7127B1 #B17127 #27B171
tetradic
#7127B1 #B12C27 #67B127 #27ACB1
square
#7127B1 #B12C27 #67B127 #27ACB1
split-complementary
#7127B1 #ACB127 #27B12C
monochromatic
#31114D #511C7F #7127B1 #9040D5 #AD72E0

Accessibility & contrast

On white

7.99
#7127B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#7127B1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7127B1
7.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7127B1#FFFFFF#000000##FFFFFF
##7127B11.007.992.637.99
#FFFFFF7.991.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB5
Deuteranopia (green-blind)
#0050AE
Tritanopia (blue-blind)
#644B6B
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #7127b1;
/* rgb */ color: rgb(113, 39, 177);
/* oklch */ color: oklch(45.9% 0.203 303.4);
Tailwind
colors: {
  custom: {
    50: '#a06ac9',
    500: '#7127b1',
    950: '#000000',
  },
}
SCSS
$custom: #7127b1;
$custom-light: #a06ac9;
$custom-dark: #000000;
JSON
{
  "hex": "#7127b1",
  "rgb": {
    "r": 113,
    "g": 39,
    "b": 177
  },
  "hsl": {
    "h": 272.174,
    "s": 63.889,
    "l": 42.353
  },
  "oklch": {
    "l": 0.45889,
    "c": 0.20263,
    "h": 303.4
  },
  "luminance": 0.08136
}

Semantic roles & 50–950 ramp

primary
#7127B1
secondary
#97C76D
accent
#E7418E
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #7127B1

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

Preview Lab → · Contrast checker → · Palette generator →

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