#7A23AF#7A23AF

#7A23AF is a mid, highly saturated violet. Relative luminance 0.084; OKLCH L 46.5% C 0.207 H 308.3°. Best body text is #FFFFFF at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#7A23AF
RGBrgb(122, 35, 175)
HSLhsl(277, 67%, 41%)
HSVhsv(277, 80%, 69%)
CMYKcmyk(30.3%, 80%, 0%, 31.4%)
CIE-LABlab(34.87, 58.87, -57.08)
CIE-LCHlch(34.87, 82.00, 315.88°)
OKLaboklab(46.53% 0.128 -0.1623)
OKLCHoklch(46.53% 0.207 308.3)
XYZxyz(16.3633, 8.4351, 41.3152)
Luminance0.0843 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A23AF #58AF23
analogous
#3423AF #7A23AF #AF239E
triadic
#7A23AF #AF7A23 #23AF7A
tetradic
#7A23AF #AF3423 #58AF23 #239EAF
square
#7A23AF #AF3423 #58AF23 #239EAF
split-complementary
#7A23AF #9EAF23 #23AF34
monochromatic
#330F49 #56197C #7A23AF #9B38D7 #B56BE1

Accessibility & contrast

On white

7.82
#7A23AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#7A23AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A23AF
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A23AF#FFFFFF#000000##FFFFFF
##7A23AF1.007.822.697.82
#FFFFFF7.821.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB3
Deuteranopia (green-blind)
#0053AC
Tritanopia (blue-blind)
#71476A
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #7a23af;
/* rgb */ color: rgb(122, 35, 175);
/* oklch */ color: oklch(46.5% 0.207 308.3);
Tailwind
colors: {
  custom: {
    50: '#a669c8',
    500: '#7a23af',
    950: '#000000',
  },
}
SCSS
$custom: #7a23af;
$custom-light: #a669c8;
$custom-dark: #000000;
JSON
{
  "hex": "#7a23af",
  "rgb": {
    "r": 122,
    "g": 35,
    "b": 175
  },
  "hsl": {
    "h": 277.286,
    "s": 66.667,
    "l": 41.176
  },
  "oklch": {
    "l": 0.46532,
    "c": 0.20664,
    "h": 308.3
  },
  "luminance": 0.08435
}

Semantic roles & 50–950 ramp

primary
#7A23AF
secondary
#8BC766
accent
#EA3E7F
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7A23AF

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

Preview Lab → · Contrast checker → · Palette generator →

#7A23AF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva