#7A23C5#7A23C5

#7A23C5 is a mid, highly saturated violet. Relative luminance 0.094; OKLCH L 48.4% C 0.227 H 302.4°. Best body text is #FFFFFF at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#7A23C5
RGBrgb(122, 35, 197)
HSLhsl(272, 70%, 45%)
HSVhsv(272, 82%, 77%)
CMYKcmyk(38.1%, 82.2%, 0%, 22.7%)
CIE-LABlab(36.69, 63.71, -67.11)
CIE-LCHlch(36.69, 92.54, 313.51°)
OKLaboklab(48.36% 0.1217 -0.1917)
OKLCHoklch(48.36% 0.227 302.4)
XYZxyz(18.7027, 9.3708, 53.6359)
Luminance0.0937 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A23C5 #6EC523
analogous
#2923C5 #7A23C5 #C523BF
triadic
#7A23C5 #C57A23 #23C57A
tetradic
#7A23C5 #C52923 #6EC523 #23BFC5
square
#7A23C5 #C52923 #6EC523 #23BFC5
split-complementary
#7A23C5 #BFC523 #23C529
monochromatic
#3A115D #5A1A91 #7A23C5 #9847DE #B57BE8

Accessibility & contrast

On white

7.31
#7A23C5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#7A23C5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A23C5
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A23C5#FFFFFF#000000##FFFFFF
##7A23C51.007.312.877.31
#FFFFFF7.311.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055C9
Deuteranopia (green-blind)
#0056C2
Tritanopia (blue-blind)
#6A5176
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #7a23c5;
/* rgb */ color: rgb(122, 35, 197);
/* oklch */ color: oklch(48.4% 0.227 302.4);
Tailwind
colors: {
  custom: {
    50: '#a86ad8',
    500: '#7a23c5',
    950: '#000000',
  },
}
SCSS
$custom: #7a23c5;
$custom-light: #a86ad8;
$custom-dark: #000000;
JSON
{
  "hex": "#7a23c5",
  "rgb": {
    "r": 122,
    "g": 35,
    "b": 197
  },
  "hsl": {
    "h": 272.222,
    "s": 69.828,
    "l": 45.49
  },
  "oklch": {
    "l": 0.48356,
    "c": 0.22711,
    "h": 302.4
  },
  "luminance": 0.09371
}

Semantic roles & 50–950 ramp

primary
#7A23C5
secondary
#9FCF74
accent
#ED3B8D
background
#FAF6FD
surface
#F5ECFA
border
#CFC7D3
text
#110715
muted
#807A83

Preview Lab

Preview with #7A23C5

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

Preview Lab → · Contrast checker → · Palette generator →

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