#7123A9#7123A9

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

Color values

HEX#7123A9
RGBrgb(113, 35, 169)
HSLhsl(275, 66%, 40%)
HSVhsv(275, 79%, 66%)
CMYKcmyk(33.1%, 79.3%, 0%, 33.7%)
CIE-LABlab(33.09, 56.02, -56.45)
CIE-LCHlch(33.09, 79.53, 314.78°)
OKLaboklab(44.86% 0.1169 -0.1607)
OKLCHoklch(44.86% 0.199 306)
XYZxyz(14.5709, 7.5775, 38.2234)
Luminance0.0758 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7123A9 #5BA923
analogous
#2E23A9 #7123A9 #A9239E
triadic
#7123A9 #A97123 #23A971
tetradic
#7123A9 #A92E23 #5BA923 #239EA9
square
#7123A9 #A92E23 #5BA923 #239EA9
split-complementary
#7123A9 #9EA923 #23A92E
monochromatic
#2D0E44 #4F1976 #7123A9 #9234D5 #AD67DF

Accessibility & contrast

On white

8.35
#7123A9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

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

Contrast matrix

fg \ bg##7123A9#FFFFFF#000000##FFFFFF
##7123A91.008.352.528.35
#FFFFFF8.351.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CAD
Deuteranopia (green-blind)
#004EA6
Tritanopia (blue-blind)
#674666
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #7123a9;
/* rgb */ color: rgb(113, 35, 169);
/* oklch */ color: oklch(44.9% 0.199 306.0);
Tailwind
colors: {
  custom: {
    50: '#9f68c3',
    500: '#7123a9',
    950: '#000000',
  },
}
SCSS
$custom: #7123a9;
$custom-light: #9f68c3;
$custom-dark: #000000;
JSON
{
  "hex": "#7123a9",
  "rgb": {
    "r": 113,
    "g": 35,
    "b": 169
  },
  "hsl": {
    "h": 274.925,
    "s": 65.686,
    "l": 40
  },
  "oklch": {
    "l": 0.44862,
    "c": 0.19873,
    "h": 306
  },
  "luminance": 0.07577
}

Semantic roles & 50–950 ramp

primary
#7123A9
secondary
#8CC563
accent
#E93F86
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #7123A9

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

Preview Lab → · Contrast checker → · Palette generator →

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