#7B23AF#7B23AF

#7B23AF is a mid, highly saturated violet. Relative luminance 0.085; OKLCH L 46.7% C 0.207 H 308.7°. Best body text is #FFFFFF at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#7B23AF
RGBrgb(123, 35, 175)
HSLhsl(278, 67%, 41%)
HSVhsv(278, 80%, 69%)
CMYKcmyk(29.7%, 80%, 0%, 31.4%)
CIE-LABlab(35.02, 59.04, -56.83)
CIE-LCHlch(35.02, 81.95, 316.09°)
OKLaboklab(46.67% 0.1293 -0.1615)
OKLCHoklch(46.67% 0.207 308.7)
XYZxyz(16.5057, 8.5085, 41.3219)
Luminance0.0851 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B23AF #57AF23
analogous
#3523AF #7B23AF #AF239D
triadic
#7B23AF #AF7B23 #23AF7B
tetradic
#7B23AF #AF3523 #57AF23 #239DAF
square
#7B23AF #AF3523 #57AF23 #239DAF
split-complementary
#7B23AF #9DAF23 #23AF35
monochromatic
#330F49 #57197C #7B23AF #9C38D7 #B56BE1

Accessibility & contrast

On white

7.77
#7B23AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#7B23AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B23AF
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B23AF#FFFFFF#000000##FFFFFF
##7B23AF1.007.772.707.77
#FFFFFF7.771.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB3
Deuteranopia (green-blind)
#0053AC
Tritanopia (blue-blind)
#73476A
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #7b23af;
/* rgb */ color: rgb(123, 35, 175);
/* oklch */ color: oklch(46.7% 0.207 308.7);
Tailwind
colors: {
  custom: {
    50: '#a669c8',
    500: '#7b23af',
    950: '#000000',
  },
}
SCSS
$custom: #7b23af;
$custom-light: #a669c8;
$custom-dark: #000000;
JSON
{
  "hex": "#7b23af",
  "rgb": {
    "r": 123,
    "g": 35,
    "b": 175
  },
  "hsl": {
    "h": 277.714,
    "s": 66.667,
    "l": 41.176
  },
  "oklch": {
    "l": 0.46665,
    "c": 0.2069,
    "h": 308.7
  },
  "luminance": 0.08508
}

Semantic roles & 50–950 ramp

primary
#7B23AF
secondary
#8AC766
accent
#EA3E7E
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7B23AF

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

Preview Lab → · Contrast checker → · Palette generator →

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