#7127BD#7127BD

#7127BD is a mid, highly saturated violet. Relative luminance 0.086; OKLCH L 46.9% C 0.215 H 300.3°. Best body text is #FFFFFF at 7.70:1 contrast (WCAG AA passes).

Color values

HEX#7127BD
RGBrgb(113, 39, 189)
HSLhsl(270, 66%, 45%)
HSVhsv(270, 79%, 74%)
CMYKcmyk(40.2%, 79.4%, 0%, 25.9%)
CIE-LABlab(35.27, 59.14, -64.78)
CIE-LCHlch(35.27, 87.72, 312.40°)
OKLaboklab(46.9% 0.1082 -0.1852)
OKLCHoklch(46.9% 0.215 300.3)
XYZxyz(16.7186, 8.6357, 48.9203)
Luminance0.0864 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7127BD #73BD27
analogous
#2728BD #7127BD #BC27BD
triadic
#7127BD #BD7127 #27BD71
tetradic
#7127BD #BD2728 #73BD27 #27BDBC
square
#7127BD #BD2728 #73BD27 #27BDBC
split-complementary
#7127BD #BDBC27 #28BD27
monochromatic
#341258 #531D8A #7127BD #9048D9 #AF7BE4

Accessibility & contrast

On white

7.70
#7127BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#7127BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7127BD
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7127BD#FFFFFF#000000##FFFFFF
##7127BD1.007.702.737.70
#FFFFFF7.701.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052C1
Deuteranopia (green-blind)
#0052BA
Tritanopia (blue-blind)
#5F5072
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #7127bd;
/* rgb */ color: rgb(113, 39, 189);
/* oklch */ color: oklch(46.9% 0.215 300.3);
Tailwind
colors: {
  custom: {
    50: '#a16ad2',
    500: '#7127bd',
    950: '#000000',
  },
}
SCSS
$custom: #7127bd;
$custom-light: #a16ad2;
$custom-dark: #000000;
JSON
{
  "hex": "#7127bd",
  "rgb": {
    "r": 113,
    "g": 39,
    "b": 189
  },
  "hsl": {
    "h": 269.6,
    "s": 65.789,
    "l": 44.706
  },
  "oklch": {
    "l": 0.46904,
    "c": 0.21451,
    "h": 300.3
  },
  "luminance": 0.08636
}

Semantic roles & 50–950 ramp

primary
#7127BD
secondary
#A0CC74
accent
#E93F95
background
#FAF6FD
surface
#F4ECFA
border
#CEC7D3
text
#100714
muted
#7F7A83

Preview Lab

Preview with #7127BD

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

Preview Lab → · Contrast checker → · Palette generator →

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