#7123AE#7123AE

#7123AE is a mid, highly saturated violet. Relative luminance 0.078; OKLCH L 45.3% C 0.204 H 304.6°. Best body text is #FFFFFF at 8.22:1 contrast (WCAG AA passes).

Color values

HEX#7123AE
RGBrgb(113, 35, 174)
HSLhsl(274, 67%, 41%)
HSVhsv(274, 80%, 68%)
CMYKcmyk(35.1%, 79.9%, 0%, 31.8%)
CIE-LABlab(33.50, 57.15, -58.78)
CIE-LCHlch(33.50, 81.98, 314.19°)
OKLaboklab(45.28% 0.1156 -0.1676)
OKLCHoklch(45.28% 0.204 304.6)
XYZxyz(15.0493, 7.7688, 40.7429)
Luminance0.0777 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7123AE #60AE23
analogous
#2B23AE #7123AE #AE23A5
triadic
#7123AE #AE7123 #23AE71
tetradic
#7123AE #AE2B23 #60AE23 #23A5AE
square
#7123AE #AE2B23 #60AE23 #23A5AE
split-complementary
#7123AE #A5AE23 #23AE2B
monochromatic
#2F0F48 #50197B #7123AE #9137D7 #AD6AE1

Accessibility & contrast

On white

8.22
#7123AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#7123AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7123AE#FFFFFF#000000##FFFFFF
##7123AE1.008.222.558.22
#FFFFFF8.221.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DB2
Deuteranopia (green-blind)
#004FAB
Tritanopia (blue-blind)
#654869
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #7123ae;
/* rgb */ color: rgb(113, 35, 174);
/* oklch */ color: oklch(45.3% 0.204 304.6);
Tailwind
colors: {
  custom: {
    50: '#a068c7',
    500: '#7123ae',
    950: '#000000',
  },
}
SCSS
$custom: #7123ae;
$custom-light: #a068c7;
$custom-dark: #000000;
JSON
{
  "hex": "#7123ae",
  "rgb": {
    "r": 113,
    "g": 35,
    "b": 174
  },
  "hsl": {
    "h": 273.669,
    "s": 66.507,
    "l": 40.98
  },
  "oklch": {
    "l": 0.45275,
    "c": 0.20355,
    "h": 304.6
  },
  "luminance": 0.07769
}

Semantic roles & 50–950 ramp

primary
#7123AE
secondary
#90C766
accent
#E93E89
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #7123AE

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

Preview Lab → · Contrast checker → · Palette generator →

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