#7123A4#7123A4

#7123A4 is a dark, vivid violet. Relative luminance 0.074; OKLCH L 44.5% C 0.194 H 307.5°. Best body text is #FFFFFF at 8.47:1 contrast (WCAG AA passes).

Color values

HEX#7123A4
RGBrgb(113, 35, 164)
HSLhsl(276, 65%, 39%)
HSVhsv(276, 79%, 64%)
CMYKcmyk(31.1%, 78.7%, 0%, 35.7%)
CIE-LABlab(32.69, 54.90, -54.10)
CIE-LCHlch(32.69, 77.07, 315.42°)
OKLaboklab(44.46% 0.1181 -0.1538)
OKLCHoklch(44.46% 0.194 307.5)
XYZxyz(14.1105, 7.3933, 35.7985)
Luminance0.0739 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7123A4 #56A423
analogous
#3123A4 #7123A4 #A42397
triadic
#7123A4 #A47123 #23A471
tetradic
#7123A4 #A43123 #56A423 #2397A4
square
#7123A4 #A43123 #56A423 #2397A4
split-complementary
#7123A4 #97A423 #23A431
monochromatic
#2B0D3F #4E1872 #7123A4 #9331D3 #AD64DE

Accessibility & contrast

On white

8.47
#7123A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#7123A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7123A4#FFFFFF#000000##FFFFFF
##7123A41.008.472.488.47
#FFFFFF8.471.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AA8
Deuteranopia (green-blind)
#004DA1
Tritanopia (blue-blind)
#684463
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #7123a4;
/* rgb */ color: rgb(113, 35, 164);
/* oklch */ color: oklch(44.5% 0.194 307.5);
Tailwind
colors: {
  custom: {
    50: '#9f67c0',
    500: '#7123a4',
    950: '#000000',
  },
}
SCSS
$custom: #7123a4;
$custom-light: #9f67c0;
$custom-dark: #000000;
JSON
{
  "hex": "#7123a4",
  "rgb": {
    "r": 113,
    "g": 35,
    "b": 164
  },
  "hsl": {
    "h": 276.279,
    "s": 64.824,
    "l": 39.02
  },
  "oklch": {
    "l": 0.44456,
    "c": 0.19391,
    "h": 307.5
  },
  "luminance": 0.07393
}

Semantic roles & 50–950 ramp

primary
#7123A4
secondary
#87C360
accent
#E84082
background
#FAF6FB
surface
#F4EBF7
border
#CEC6D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #7123A4

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

Preview Lab → · Contrast checker → · Palette generator →

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