#7123A2#7123A2

#7123A2 is a dark, vivid violet. Relative luminance 0.073; OKLCH L 44.3% C 0.192 H 308.1°. Best body text is #FFFFFF at 8.52:1 contrast (WCAG AA passes).

Color values

HEX#7123A2
RGBrgb(113, 35, 162)
HSLhsl(277, 64%, 39%)
HSVhsv(277, 78%, 64%)
CMYKcmyk(30.2%, 78.4%, 0%, 36.5%)
CIE-LABlab(32.53, 54.45, -53.14)
CIE-LCHlch(32.53, 76.09, 315.70°)
OKLaboklab(44.3% 0.1186 -0.151)
OKLCHoklch(44.3% 0.192 308.1)
XYZxyz(13.9313, 7.3216, 34.8547)
Luminance0.0732 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7123A2 #54A223
analogous
#3123A2 #7123A2 #A22393
triadic
#7123A2 #A27123 #23A271
tetradic
#7123A2 #A23123 #54A223 #2393A2
square
#7123A2 #A23123 #54A223 #2393A2
split-complementary
#7123A2 #93A223 #23A231
monochromatic
#2B0D3D #4E1870 #7123A2 #9430D2 #AE62DD

Accessibility & contrast

On white

8.52
#7123A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#7123A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7123A2#FFFFFF#000000##FFFFFF
##7123A21.008.522.468.52
#FFFFFF8.521.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AA5
Deuteranopia (green-blind)
#004D9F
Tritanopia (blue-blind)
#694362
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #7123a2;
/* rgb */ color: rgb(113, 35, 162);
/* oklch */ color: oklch(44.3% 0.192 308.1);
Tailwind
colors: {
  custom: {
    50: '#9f67be',
    500: '#7123a2',
    950: '#000000',
  },
}
SCSS
$custom: #7123a2;
$custom-light: #9f67be;
$custom-dark: #000000;
JSON
{
  "hex": "#7123a2",
  "rgb": {
    "r": 113,
    "g": 35,
    "b": 162
  },
  "hsl": {
    "h": 276.85,
    "s": 64.467,
    "l": 38.627
  },
  "oklch": {
    "l": 0.44296,
    "c": 0.19198,
    "h": 308.1
  },
  "luminance": 0.07321
}

Semantic roles & 50–950 ramp

primary
#7123A2
secondary
#85C25E
accent
#E74081
background
#FAF6FB
surface
#F4EBF7
border
#CEC6D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #7123A2

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

Preview Lab → · Contrast checker → · Palette generator →

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