#7127A8#7127A8

#7127A8 is a mid, vivid violet. Relative luminance 0.078; OKLCH L 45.2% C 0.194 H 305.9°. Best body text is #FFFFFF at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#7127A8
RGBrgb(113, 39, 168)
HSLhsl(274, 62%, 41%)
HSVhsv(274, 77%, 66%)
CMYKcmyk(32.7%, 76.8%, 0%, 34.1%)
CIE-LABlab(33.54, 54.26, -55.12)
CIE-LCHlch(33.54, 77.34, 314.55°)
OKLaboklab(45.15% 0.1137 -0.1568)
OKLCHoklch(45.15% 0.194 305.9)
XYZxyz(14.6019, 7.7890, 37.7724)
Luminance0.0779 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7127A8 #5EA827
analogous
#3127A8 #7127A8 #A8279E
triadic
#7127A8 #A87127 #27A871
tetradic
#7127A8 #A83127 #5EA827 #279EA8
square
#7127A8 #A83127 #5EA827 #279EA8
split-complementary
#7127A8 #9EA827 #27A831
monochromatic
#2E1045 #501B76 #7127A8 #913BD1 #AD6CDD

Accessibility & contrast

On white

8.21
#7127A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#7127A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7127A8
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7127A8#FFFFFF#000000##FFFFFF
##7127A81.008.212.568.21
#FFFFFF8.211.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DAC
Deuteranopia (green-blind)
#004FA5
Tritanopia (blue-blind)
#674766
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #7127a8;
/* rgb */ color: rgb(113, 39, 168);
/* oklch */ color: oklch(45.2% 0.194 305.9);
Tailwind
colors: {
  custom: {
    50: '#9f69c3',
    500: '#7127a8',
    950: '#000000',
  },
}
SCSS
$custom: #7127a8;
$custom-light: #9f69c3;
$custom-dark: #000000;
JSON
{
  "hex": "#7127a8",
  "rgb": {
    "r": 113,
    "g": 39,
    "b": 168
  },
  "hsl": {
    "h": 274.419,
    "s": 62.319,
    "l": 40.588
  },
  "oklch": {
    "l": 0.45154,
    "c": 0.1937,
    "h": 305.9
  },
  "luminance": 0.07789
}

Semantic roles & 50–950 ramp

primary
#7127A8
secondary
#8FC367
accent
#E54288
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #7127A8

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

Preview Lab → · Contrast checker → · Palette generator →

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