#7127B4#7127B4

#7127B4 is a mid, highly saturated violet. Relative luminance 0.083; OKLCH L 46.1% C 0.206 H 302.6°. Best body text is #FFFFFF at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#7127B4
RGBrgb(113, 39, 180)
HSLhsl(271, 64%, 43%)
HSVhsv(271, 78%, 71%)
CMYKcmyk(37.2%, 78.3%, 0%, 29.4%)
CIE-LABlab(34.51, 57.03, -60.70)
CIE-LCHlch(34.51, 83.29, 313.22°)
OKLaboklab(46.14% 0.1107 -0.1732)
OKLCHoklch(46.14% 0.206 302.6)
XYZxyz(15.7718, 8.2570, 43.9340)
Luminance0.0826 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7127B4 #6AB427
analogous
#2A27B4 #7127B4 #B427B1
triadic
#7127B4 #B47127 #27B471
tetradic
#7127B4 #B42A27 #6AB427 #27B1B4
square
#7127B4 #B42A27 #6AB427 #27B1B4
split-complementary
#7127B4 #B1B427 #27B42A
monochromatic
#32114F #511C82 #7127B4 #9042D6 #AD74E1

Accessibility & contrast

On white

7.92
#7127B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#7127B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7127B4
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7127B4#FFFFFF#000000##FFFFFF
##7127B41.007.922.657.92
#FFFFFF7.921.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B8
Deuteranopia (green-blind)
#0051B1
Tritanopia (blue-blind)
#634D6D
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #7127b4;
/* rgb */ color: rgb(113, 39, 180);
/* oklch */ color: oklch(46.1% 0.206 302.6);
Tailwind
colors: {
  custom: {
    50: '#a06acb',
    500: '#7127b4',
    950: '#000000',
  },
}
SCSS
$custom: #7127b4;
$custom-light: #a06acb;
$custom-dark: #000000;
JSON
{
  "hex": "#7127b4",
  "rgb": {
    "r": 113,
    "g": 39,
    "b": 180
  },
  "hsl": {
    "h": 271.489,
    "s": 64.384,
    "l": 42.941
  },
  "oklch": {
    "l": 0.46139,
    "c": 0.2056,
    "h": 302.6
  },
  "luminance": 0.08257
}

Semantic roles & 50–950 ramp

primary
#7127B4
secondary
#99C86F
accent
#E74090
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #7127B4

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

Preview Lab → · Contrast checker → · Palette generator →

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