#7123AF#7123AF

#7123AF is a mid, highly saturated violet. Relative luminance 0.078; OKLCH L 45.4% C 0.205 H 304.3°. Best body text is #FFFFFF at 8.20:1 contrast (WCAG AA passes).

Color values

HEX#7123AF
RGBrgb(113, 35, 175)
HSLhsl(273, 67%, 41%)
HSVhsv(273, 80%, 69%)
CMYKcmyk(35.4%, 80%, 0%, 31.4%)
CIE-LABlab(33.58, 57.38, -59.24)
CIE-LCHlch(33.58, 82.47, 314.08°)
OKLaboklab(45.36% 0.1153 -0.1689)
OKLCHoklch(45.36% 0.205 304.3)
XYZxyz(15.1472, 7.8080, 41.2582)
Luminance0.0781 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7123AF #61AF23
analogous
#2B23AF #7123AF #AF23A7
triadic
#7123AF #AF7123 #23AF71
tetradic
#7123AF #AF2B23 #61AF23 #23A7AF
square
#7123AF #AF2B23 #61AF23 #23A7AF
split-complementary
#7123AF #A7AF23 #23AF2B
monochromatic
#2F0F49 #50197C #7123AF #9138D7 #AD6BE1

Accessibility & contrast

On white

8.20
#7123AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#7123AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7123AF
8.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7123AF#FFFFFF#000000##FFFFFF
##7123AF1.008.202.568.20
#FFFFFF8.201.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DB3
Deuteranopia (green-blind)
#004FAC
Tritanopia (blue-blind)
#654969
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #7123af;
/* rgb */ color: rgb(113, 35, 175);
/* oklch */ color: oklch(45.4% 0.205 304.3);
Tailwind
colors: {
  custom: {
    50: '#a068c8',
    500: '#7123af',
    950: '#000000',
  },
}
SCSS
$custom: #7123af;
$custom-light: #a068c8;
$custom-dark: #000000;
JSON
{
  "hex": "#7123af",
  "rgb": {
    "r": 113,
    "g": 35,
    "b": 175
  },
  "hsl": {
    "h": 273.429,
    "s": 66.667,
    "l": 41.176
  },
  "oklch": {
    "l": 0.45359,
    "c": 0.20452,
    "h": 304.3
  },
  "luminance": 0.07808
}

Semantic roles & 50–950 ramp

primary
#7123AF
secondary
#91C766
accent
#EA3E8A
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #7123AF

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

Preview Lab → · Contrast checker → · Palette generator →

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