#7B23C1#7B23C1

#7B23C1 is a mid, highly saturated violet. Relative luminance 0.093; OKLCH L 48.1% C 0.224 H 303.8°. Best body text is #FFFFFF at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#7B23C1
RGBrgb(123, 35, 193)
HSLhsl(273, 69%, 45%)
HSVhsv(273, 82%, 76%)
CMYKcmyk(36.3%, 81.9%, 0%, 24.3%)
CIE-LABlab(36.49, 62.97, -65.09)
CIE-LCHlch(36.49, 90.57, 314.05°)
OKLaboklab(48.14% 0.1244 -0.1858)
OKLCHoklch(48.14% 0.224 303.8)
XYZxyz(18.3928, 9.2633, 51.2608)
Luminance0.0926 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B23C1 #69C123
analogous
#2C23C1 #7B23C1 #C123B8
triadic
#7B23C1 #C17B23 #23C17B
tetradic
#7B23C1 #C12C23 #69C123 #23B8C1
square
#7B23C1 #C12C23 #69C123 #23B8C1
split-complementary
#7B23C1 #B8C123 #23C12C
monochromatic
#391059 #5A1A8D #7B23C1 #9944DD #B678E6

Accessibility & contrast

On white

7.36
#7B23C1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#7B23C1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B23C1
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B23C1#FFFFFF#000000##FFFFFF
##7B23C11.007.362.857.36
#FFFFFF7.361.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054C5
Deuteranopia (green-blind)
#0056BE
Tritanopia (blue-blind)
#6D4F74
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #7b23c1;
/* rgb */ color: rgb(123, 35, 193);
/* oklch */ color: oklch(48.1% 0.224 303.8);
Tailwind
colors: {
  custom: {
    50: '#a86ad5',
    500: '#7b23c1',
    950: '#000000',
  },
}
SCSS
$custom: #7b23c1;
$custom-light: #a86ad5;
$custom-dark: #000000;
JSON
{
  "hex": "#7b23c1",
  "rgb": {
    "r": 123,
    "g": 35,
    "b": 193
  },
  "hsl": {
    "h": 273.418,
    "s": 69.298,
    "l": 44.706
  },
  "oklch": {
    "l": 0.4814,
    "c": 0.22357,
    "h": 303.8
  },
  "luminance": 0.09263
}

Semantic roles & 50–950 ramp

primary
#7B23C1
secondary
#9BCE72
accent
#EC3C8A
background
#FAF6FD
surface
#F5ECFA
border
#CFC7D3
text
#110714
muted
#807A83

Preview Lab

Preview with #7B23C1

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

Preview Lab → · Contrast checker → · Palette generator →

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