#7123AD#7123AD

#7123AD is a mid, highly saturated violet. Relative luminance 0.077; OKLCH L 45.2% C 0.203 H 304.9°. Best body text is #FFFFFF at 8.25:1 contrast (WCAG AA passes).

Color values

HEX#7123AD
RGBrgb(113, 35, 173)
HSLhsl(274, 66%, 41%)
HSVhsv(274, 80%, 68%)
CMYKcmyk(34.7%, 79.8%, 0%, 32.2%)
CIE-LABlab(33.41, 56.92, -58.32)
CIE-LCHlch(33.41, 81.49, 314.31°)
OKLaboklab(45.19% 0.1158 -0.1662)
OKLCHoklch(45.19% 0.203 304.9)
XYZxyz(14.9522, 7.7300, 40.2314)
Luminance0.0773 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7123AD #5FAD23
analogous
#2C23AD #7123AD #AD23A4
triadic
#7123AD #AD7123 #23AD71
tetradic
#7123AD #AD2C23 #5FAD23 #23A4AD
square
#7123AD #AD2C23 #5FAD23 #23A4AD
split-complementary
#7123AD #A4AD23 #23AD2C
monochromatic
#2F0E47 #50197A #7123AD #9137D6 #AD6AE1

Accessibility & contrast

On white

8.25
#7123AD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

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

Contrast matrix

fg \ bg##7123AD#FFFFFF#000000##FFFFFF
##7123AD1.008.252.558.25
#FFFFFF8.251.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DB1
Deuteranopia (green-blind)
#004FAA
Tritanopia (blue-blind)
#654868
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #7123ad;
/* rgb */ color: rgb(113, 35, 173);
/* oklch */ color: oklch(45.2% 0.203 304.9);
Tailwind
colors: {
  custom: {
    50: '#a068c6',
    500: '#7123ad',
    950: '#000000',
  },
}
SCSS
$custom: #7123ad;
$custom-light: #a068c6;
$custom-dark: #000000;
JSON
{
  "hex": "#7123ad",
  "rgb": {
    "r": 113,
    "g": 35,
    "b": 173
  },
  "hsl": {
    "h": 273.913,
    "s": 66.346,
    "l": 40.784
  },
  "oklch": {
    "l": 0.45192,
    "c": 0.20258,
    "h": 304.9
  },
  "luminance": 0.0773
}

Semantic roles & 50–950 ramp

primary
#7123AD
secondary
#90C765
accent
#E93F89
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #7123AD

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

Preview Lab → · Contrast checker → · Palette generator →

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