#7A23B0#7A23B0

#7A23B0 is a mid, highly saturated violet. Relative luminance 0.085; OKLCH L 46.6% C 0.208 H 308.0°. Best body text is #FFFFFF at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#7A23B0
RGBrgb(122, 35, 176)
HSLhsl(277, 67%, 41%)
HSVhsv(277, 80%, 69%)
CMYKcmyk(30.7%, 80.1%, 0%, 31%)
CIE-LABlab(34.95, 59.09, -57.55)
CIE-LCHlch(34.95, 82.48, 315.76°)
OKLaboklab(46.61% 0.1277 -0.1636)
OKLCHoklch(46.61% 0.208 308)
XYZxyz(16.4619, 8.4745, 41.8344)
Luminance0.0847 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A23B0 #59B023
analogous
#3323B0 #7A23B0 #B023A0
triadic
#7A23B0 #B07A23 #23B07A
tetradic
#7A23B0 #B03323 #59B023 #23A0B0
square
#7A23B0 #B03323 #59B023 #23A0B0
split-complementary
#7A23B0 #A0B023 #23B033
monochromatic
#330F4A #57197D #7A23B0 #9B39D8 #B56CE2

Accessibility & contrast

On white

7.79
#7A23B0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7A23B0
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A23B0#FFFFFF#000000##FFFFFF
##7A23B01.007.792.697.79
#FFFFFF7.791.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB4
Deuteranopia (green-blind)
#0053AD
Tritanopia (blue-blind)
#71486A
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #7a23b0;
/* rgb */ color: rgb(122, 35, 176);
/* oklch */ color: oklch(46.6% 0.208 308.0);
Tailwind
colors: {
  custom: {
    50: '#a669c9',
    500: '#7a23b0',
    950: '#000000',
  },
}
SCSS
$custom: #7a23b0;
$custom-light: #a669c9;
$custom-dark: #000000;
JSON
{
  "hex": "#7a23b0",
  "rgb": {
    "r": 122,
    "g": 35,
    "b": 176
  },
  "hsl": {
    "h": 277.021,
    "s": 66.825,
    "l": 41.373
  },
  "oklch": {
    "l": 0.46612,
    "c": 0.20756,
    "h": 308
  },
  "luminance": 0.08474
}

Semantic roles & 50–950 ramp

primary
#7A23B0
secondary
#8CC867
accent
#EA3E80
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7A23B0

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

Preview Lab → · Contrast checker → · Palette generator →

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