#7123AA#7123AA

#7123AA is a dark, vivid violet. Relative luminance 0.076; OKLCH L 44.9% C 0.200 H 305.7°. Best body text is #FFFFFF at 8.32:1 contrast (WCAG AA passes).

Color values

HEX#7123AA
RGBrgb(113, 35, 170)
HSLhsl(275, 66%, 40%)
HSVhsv(275, 79%, 67%)
CMYKcmyk(33.5%, 79.4%, 0%, 33.3%)
CIE-LABlab(33.17, 56.24, -56.92)
CIE-LCHlch(33.17, 80.02, 314.66°)
OKLaboklab(44.94% 0.1166 -0.1621)
OKLCHoklch(44.94% 0.2 305.7)
XYZxyz(14.6652, 7.6152, 38.7197)
Luminance0.0761 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7123AA #5CAA23
analogous
#2E23AA #7123AA #AA239F
triadic
#7123AA #AA7123 #23AA71
tetradic
#7123AA #AA2E23 #5CAA23 #239FAA
square
#7123AA #AA2E23 #5CAA23 #239FAA
split-complementary
#7123AA #9FAA23 #23AA2E
monochromatic
#2E0E44 #4F1977 #7123AA #9235D5 #AD68E0

Accessibility & contrast

On white

8.32
#7123AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#7123AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7123AA
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7123AA#FFFFFF#000000##FFFFFF
##7123AA1.008.322.528.32
#FFFFFF8.321.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CAE
Deuteranopia (green-blind)
#004EA7
Tritanopia (blue-blind)
#664667
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #7123aa;
/* rgb */ color: rgb(113, 35, 170);
/* oklch */ color: oklch(44.9% 0.200 305.7);
Tailwind
colors: {
  custom: {
    50: '#9f68c4',
    500: '#7123aa',
    950: '#000000',
  },
}
SCSS
$custom: #7123aa;
$custom-light: #9f68c4;
$custom-dark: #000000;
JSON
{
  "hex": "#7123aa",
  "rgb": {
    "r": 113,
    "g": 35,
    "b": 170
  },
  "hsl": {
    "h": 274.667,
    "s": 65.854,
    "l": 40.196
  },
  "oklch": {
    "l": 0.44944,
    "c": 0.19969,
    "h": 305.7
  },
  "luminance": 0.07615
}

Semantic roles & 50–950 ramp

primary
#7123AA
secondary
#8DC663
accent
#E93F87
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #7123AA

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

Preview Lab → · Contrast checker → · Palette generator →

#7123AA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva