#7B23AE#7B23AE

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

Color values

HEX#7B23AE
RGBrgb(123, 35, 174)
HSLhsl(278, 67%, 41%)
HSVhsv(278, 80%, 68%)
CMYKcmyk(29.3%, 79.9%, 0%, 31.8%)
CIE-LABlab(34.94, 58.83, -56.37)
CIE-LCHlch(34.94, 81.47, 316.22°)
OKLaboklab(46.59% 0.1296 -0.1601)
OKLCHoklch(46.59% 0.206 309)
XYZxyz(16.4078, 8.4693, 40.8066)
Luminance0.0847 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B23AE #56AE23
analogous
#3623AE #7B23AE #AE239B
triadic
#7B23AE #AE7B23 #23AE7B
tetradic
#7B23AE #AE3623 #56AE23 #239BAE
square
#7B23AE #AE3623 #56AE23 #239BAE
split-complementary
#7B23AE #9BAE23 #23AE36
monochromatic
#330F48 #57197B #7B23AE #9C37D7 #B66AE1

Accessibility & contrast

On white

7.80
#7B23AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7B23AE
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B23AE#FFFFFF#000000##FFFFFF
##7B23AE1.007.802.697.80
#FFFFFF7.801.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB2
Deuteranopia (green-blind)
#0053AB
Tritanopia (blue-blind)
#734769
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #7b23ae;
/* rgb */ color: rgb(123, 35, 174);
/* oklch */ color: oklch(46.6% 0.206 309.0);
Tailwind
colors: {
  custom: {
    50: '#a669c7',
    500: '#7b23ae',
    950: '#000000',
  },
}
SCSS
$custom: #7b23ae;
$custom-light: #a669c7;
$custom-dark: #000000;
JSON
{
  "hex": "#7b23ae",
  "rgb": {
    "r": 123,
    "g": 35,
    "b": 174
  },
  "hsl": {
    "h": 277.986,
    "s": 66.507,
    "l": 40.98
  },
  "oklch": {
    "l": 0.46586,
    "c": 0.20598,
    "h": 309
  },
  "luminance": 0.08469
}

Semantic roles & 50–950 ramp

primary
#7B23AE
secondary
#89C766
accent
#E93E7D
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7B23AE

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

Preview Lab → · Contrast checker → · Palette generator →

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