#7A23BC#7A23BC

#7A23BC is a mid, highly saturated violet. Relative luminance 0.090; OKLCH L 47.6% C 0.219 H 304.7°. Best body text is #FFFFFF at 7.52:1 contrast (WCAG AA passes).

Color values

HEX#7A23BC
RGBrgb(122, 35, 188)
HSLhsl(274, 69%, 44%)
HSVhsv(274, 81%, 74%)
CMYKcmyk(35.1%, 81.4%, 0%, 26.3%)
CIE-LABlab(35.93, 61.71, -63.07)
CIE-LCHlch(35.93, 88.24, 314.38°)
OKLaboklab(47.59% 0.1245 -0.1798)
OKLCHoklch(47.59% 0.219 304.7)
XYZxyz(17.7021, 8.9706, 48.3661)
Luminance0.0897 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A23BC #65BC23
analogous
#2E23BC #7A23BC #BC23B1
triadic
#7A23BC #BC7A23 #23BC7A
tetradic
#7A23BC #BC2E23 #65BC23 #23B1BC
square
#7A23BC #BC2E23 #65BC23 #23B1BC
split-complementary
#7A23BC #B1BC23 #23BC2E
monochromatic
#371055 #591988 #7A23BC #9941DC #B474E5

Accessibility & contrast

On white

7.52
#7A23BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#7A23BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A23BC
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A23BC#FFFFFF#000000##FFFFFF
##7A23BC1.007.522.797.52
#FFFFFF7.521.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052C0
Deuteranopia (green-blind)
#0054B9
Tritanopia (blue-blind)
#6D4D71
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #7a23bc;
/* rgb */ color: rgb(122, 35, 188);
/* oklch */ color: oklch(47.6% 0.219 304.7);
Tailwind
colors: {
  custom: {
    50: '#a76ad1',
    500: '#7a23bc',
    950: '#000000',
  },
}
SCSS
$custom: #7a23bc;
$custom-light: #a76ad1;
$custom-dark: #000000;
JSON
{
  "hex": "#7a23bc",
  "rgb": {
    "r": 122,
    "g": 35,
    "b": 188
  },
  "hsl": {
    "h": 274.118,
    "s": 68.61,
    "l": 43.725
  },
  "oklch": {
    "l": 0.47594,
    "c": 0.21871,
    "h": 304.7
  },
  "luminance": 0.0897
}

Semantic roles & 50–950 ramp

primary
#7A23BC
secondary
#97CC6F
accent
#EB3C88
background
#FAF6FD
surface
#F4ECFA
border
#CEC7D3
text
#100714
muted
#7F7A83

Preview Lab

Preview with #7A23BC

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

Preview Lab → · Contrast checker → · Palette generator →

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