#7127C4#7127C4

#7127C4 is a mid, highly saturated violet. Relative luminance 0.089; OKLCH L 47.5% C 0.221 H 298.6°. Best body text is #FFFFFF at 7.53:1 contrast (WCAG AA passes).

Color values

HEX#7127C4
RGBrgb(113, 39, 196)
HSLhsl(268, 67%, 46%)
HSVhsv(268, 80%, 77%)
CMYKcmyk(42.3%, 80.1%, 0%, 23.1%)
CIE-LABlab(35.88, 60.80, -67.89)
CIE-LCHlch(35.88, 91.14, 311.85°)
OKLaboklab(47.51% 0.1061 -0.1943)
OKLCHoklch(47.51% 0.221 298.6)
XYZxyz(17.4968, 8.9470, 53.0190)
Luminance0.0895 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7127C4 #7AC427
analogous
#272BC4 #7127C4 #BF27C4
triadic
#7127C4 #C47127 #27C471
tetradic
#7127C4 #C4272B #7AC427 #27C4BF
square
#7127C4 #C4272B #7AC427 #27C4BF
split-complementary
#7127C4 #C4BF27 #2BC427
monochromatic
#36135E #541D91 #7127C4 #904DDC #B080E6

Accessibility & contrast

On white

7.53
#7127C4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#7127C4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7127C4
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7127C4#FFFFFF#000000##FFFFFF
##7127C41.007.532.797.53
#FFFFFF7.531.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054C8
Deuteranopia (green-blind)
#0053C1
Tritanopia (blue-blind)
#5C5376
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #7127c4;
/* rgb */ color: rgb(113, 39, 196);
/* oklch */ color: oklch(47.5% 0.221 298.6);
Tailwind
colors: {
  custom: {
    50: '#a26bd7',
    500: '#7127c4',
    950: '#000000',
  },
}
SCSS
$custom: #7127c4;
$custom-light: #a26bd7;
$custom-dark: #000000;
JSON
{
  "hex": "#7127c4",
  "rgb": {
    "r": 113,
    "g": 39,
    "b": 196
  },
  "hsl": {
    "h": 268.28,
    "s": 66.809,
    "l": 46.078
  },
  "oklch": {
    "l": 0.47514,
    "c": 0.22144,
    "h": 298.6
  },
  "luminance": 0.08947
}

Semantic roles & 50–950 ramp

primary
#7127C4
secondary
#A6CE79
accent
#EA3E99
background
#FAF6FD
surface
#F4ECFA
border
#CEC7D3
text
#100715
muted
#7F7A83

Preview Lab

Preview with #7127C4

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

Preview Lab → · Contrast checker → · Palette generator →

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