#7127B0#7127B0

#7127B0 is a mid, highly saturated violet. Relative luminance 0.081; OKLCH L 45.8% C 0.202 H 303.7°. Best body text is #FFFFFF at 8.02:1 contrast (WCAG AA passes).

Color values

HEX#7127B0
RGBrgb(113, 39, 176)
HSLhsl(272, 64%, 42%)
HSVhsv(272, 78%, 69%)
CMYKcmyk(35.8%, 77.8%, 0%, 31%)
CIE-LABlab(34.18, 56.10, -58.86)
CIE-LCHlch(34.18, 81.31, 313.63°)
OKLaboklab(45.81% 0.1118 -0.1678)
OKLCHoklch(45.81% 0.202 303.7)
XYZxyz(15.3702, 8.0964, 41.8189)
Luminance0.0810 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7127B0 #66B027
analogous
#2D27B0 #7127B0 #B027AB
triadic
#7127B0 #B07127 #27B071
tetradic
#7127B0 #B02D27 #66B027 #27ABB0
square
#7127B0 #B02D27 #66B027 #27ABB0
split-complementary
#7127B0 #ABB027 #27B02D
monochromatic
#31114C #511C7E #7127B0 #9040D5 #AD72E0

Accessibility & contrast

On white

8.02
#7127B0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#7127B0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7127B0
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7127B0#FFFFFF#000000##FFFFFF
##7127B01.008.022.628.02
#FFFFFF8.021.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB4
Deuteranopia (green-blind)
#0050AD
Tritanopia (blue-blind)
#644B6B
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #7127b0;
/* rgb */ color: rgb(113, 39, 176);
/* oklch */ color: oklch(45.8% 0.202 303.7);
Tailwind
colors: {
  custom: {
    50: '#a06ac9',
    500: '#7127b0',
    950: '#000000',
  },
}
SCSS
$custom: #7127b0;
$custom-light: #a06ac9;
$custom-dark: #000000;
JSON
{
  "hex": "#7127b0",
  "rgb": {
    "r": 113,
    "g": 39,
    "b": 176
  },
  "hsl": {
    "h": 272.409,
    "s": 63.721,
    "l": 42.157
  },
  "oklch": {
    "l": 0.45806,
    "c": 0.20163,
    "h": 303.7
  },
  "luminance": 0.08096
}

Semantic roles & 50–950 ramp

primary
#7127B0
secondary
#96C76C
accent
#E7418D
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #7127B0

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

Preview Lab → · Contrast checker → · Palette generator →

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