#7127B3#7127B3

#7127B3 is a mid, highly saturated violet. Relative luminance 0.082; OKLCH L 46.1% C 0.205 H 302.9°. Best body text is #FFFFFF at 7.94:1 contrast (WCAG AA passes).

Color values

HEX#7127B3
RGBrgb(113, 39, 179)
HSLhsl(272, 64%, 43%)
HSVhsv(272, 78%, 70%)
CMYKcmyk(36.9%, 78.2%, 0%, 29.8%)
CIE-LABlab(34.43, 56.80, -60.24)
CIE-LCHlch(34.43, 82.79, 313.32°)
OKLaboklab(46.06% 0.111 -0.1719)
OKLCHoklch(46.06% 0.205 302.9)
XYZxyz(15.6703, 8.2164, 43.3994)
Luminance0.0822 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7127B3 #69B327
analogous
#2B27B3 #7127B3 #B327AF
triadic
#7127B3 #B37127 #27B371
tetradic
#7127B3 #B32B27 #69B327 #27AFB3
square
#7127B3 #B32B27 #69B327 #27AFB3
split-complementary
#7127B3 #AFB327 #27B32B
monochromatic
#32114E #511C81 #7127B3 #9041D6 #AD74E1

Accessibility & contrast

On white

7.94
#7127B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#7127B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7127B3
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7127B3#FFFFFF#000000##FFFFFF
##7127B31.007.942.647.94
#FFFFFF7.941.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B7
Deuteranopia (green-blind)
#0051B0
Tritanopia (blue-blind)
#634C6D
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #7127b3;
/* rgb */ color: rgb(113, 39, 179);
/* oklch */ color: oklch(46.1% 0.205 302.9);
Tailwind
colors: {
  custom: {
    50: '#a06acb',
    500: '#7127b3',
    950: '#000000',
  },
}
SCSS
$custom: #7127b3;
$custom-light: #a06acb;
$custom-dark: #000000;
JSON
{
  "hex": "#7127b3",
  "rgb": {
    "r": 113,
    "g": 39,
    "b": 179
  },
  "hsl": {
    "h": 271.714,
    "s": 64.22,
    "l": 42.745
  },
  "oklch": {
    "l": 0.46055,
    "c": 0.20461,
    "h": 302.9
  },
  "luminance": 0.08216
}

Semantic roles & 50–950 ramp

primary
#7127B3
secondary
#98C86E
accent
#E7418F
background
#FAF6FC
surface
#F4EBF9
border
#CEC6D2
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #7127B3

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

Preview Lab → · Contrast checker → · Palette generator →

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