#7A23B7#7A23B7

#7A23B7 is a mid, highly saturated violet. Relative luminance 0.088; OKLCH L 47.2% C 0.214 H 306.0°. Best body text is #FFFFFF at 7.63:1 contrast (WCAG AA passes).

Color values

HEX#7A23B7
RGBrgb(122, 35, 183)
HSLhsl(275, 68%, 43%)
HSVhsv(275, 81%, 72%)
CMYKcmyk(33.3%, 80.9%, 0%, 28.2%)
CIE-LABlab(35.52, 60.61, -60.79)
CIE-LCHlch(35.52, 85.84, 314.92°)
OKLaboklab(47.18% 0.1259 -0.1731)
OKLCHoklch(47.18% 0.214 306)
XYZxyz(17.1724, 8.7587, 45.5765)
Luminance0.0876 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A23B7 #60B723
analogous
#3023B7 #7A23B7 #B723AA
triadic
#7A23B7 #B77A23 #23B77A
tetradic
#7A23B7 #B73023 #60B723 #23AAB7
square
#7A23B7 #B73023 #60B723 #23AAB7
split-complementary
#7A23B7 #AAB723 #23B730
monochromatic
#360F50 #581984 #7A23B7 #993DDA #B471E4

Accessibility & contrast

On white

7.63
#7A23B7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#7A23B7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A23B7
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A23B7#FFFFFF#000000##FFFFFF
##7A23B71.007.632.757.63
#FFFFFF7.631.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051BB
Deuteranopia (green-blind)
#0054B4
Tritanopia (blue-blind)
#6F4B6E
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #7a23b7;
/* rgb */ color: rgb(122, 35, 183);
/* oklch */ color: oklch(47.2% 0.214 306.0);
Tailwind
colors: {
  custom: {
    50: '#a669ce',
    500: '#7a23b7',
    950: '#000000',
  },
}
SCSS
$custom: #7a23b7;
$custom-light: #a669ce;
$custom-dark: #000000;
JSON
{
  "hex": "#7a23b7",
  "rgb": {
    "r": 122,
    "g": 35,
    "b": 183
  },
  "hsl": {
    "h": 275.27,
    "s": 67.89,
    "l": 42.745
  },
  "oklch": {
    "l": 0.4718,
    "c": 0.21406,
    "h": 306
  },
  "luminance": 0.08759
}

Semantic roles & 50–950 ramp

primary
#7A23B7
secondary
#93CA6B
accent
#EB3D85
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100714
muted
#7F7A82

Preview Lab

Preview with #7A23B7

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

Preview Lab → · Contrast checker → · Palette generator →

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