#7B23AD#7B23AD

#7B23AD is a mid, highly saturated violet. Relative luminance 0.084; OKLCH L 46.5% C 0.205 H 309.3°. Best body text is #FFFFFF at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#7B23AD
RGBrgb(123, 35, 173)
HSLhsl(278, 66%, 41%)
HSVhsv(278, 80%, 68%)
CMYKcmyk(28.9%, 79.8%, 0%, 32.2%)
CIE-LABlab(34.86, 58.61, -55.89)
CIE-LCHlch(34.86, 80.99, 316.36°)
OKLaboklab(46.51% 0.1298 -0.1587)
OKLCHoklch(46.51% 0.205 309.3)
XYZxyz(16.3107, 8.4305, 40.2951)
Luminance0.0843 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B23AD #55AD23
analogous
#3623AD #7B23AD #AD239A
triadic
#7B23AD #AD7B23 #23AD7B
tetradic
#7B23AD #AD3623 #55AD23 #239AAD
square
#7B23AD #AD3623 #55AD23 #239AAD
split-complementary
#7B23AD #9AAD23 #23AD36
monochromatic
#330E47 #57197A #7B23AD #9D37D6 #B66AE1

Accessibility & contrast

On white

7.82
#7B23AD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7B23AD
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B23AD#FFFFFF#000000##FFFFFF
##7B23AD1.007.822.697.82
#FFFFFF7.821.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB1
Deuteranopia (green-blind)
#0053AA
Tritanopia (blue-blind)
#734668
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #7b23ad;
/* rgb */ color: rgb(123, 35, 173);
/* oklch */ color: oklch(46.5% 0.205 309.3);
Tailwind
colors: {
  custom: {
    50: '#a669c6',
    500: '#7b23ad',
    950: '#000000',
  },
}
SCSS
$custom: #7b23ad;
$custom-light: #a669c6;
$custom-dark: #000000;
JSON
{
  "hex": "#7b23ad",
  "rgb": {
    "r": 123,
    "g": 35,
    "b": 173
  },
  "hsl": {
    "h": 278.261,
    "s": 66.346,
    "l": 40.784
  },
  "oklch": {
    "l": 0.46507,
    "c": 0.20506,
    "h": 309.3
  },
  "luminance": 0.0843
}

Semantic roles & 50–950 ramp

primary
#7B23AD
secondary
#88C765
accent
#E93F7C
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7B23AD

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

Preview Lab → · Contrast checker → · Palette generator →

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