#7B23B0#7B23B0

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

Color values

HEX#7B23B0
RGBrgb(123, 35, 176)
HSLhsl(277, 67%, 41%)
HSVhsv(277, 80%, 69%)
CMYKcmyk(30.1%, 80.1%, 0%, 31%)
CIE-LABlab(35.10, 59.26, -57.30)
CIE-LCHlch(35.10, 82.43, 315.96°)
OKLaboklab(46.75% 0.1291 -0.1629)
OKLCHoklch(46.75% 0.208 308.4)
XYZxyz(16.6042, 8.5479, 41.8411)
Luminance0.0855 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B23B0 #58B023
analogous
#3523B0 #7B23B0 #B0239F
triadic
#7B23B0 #B07B23 #23B07B
tetradic
#7B23B0 #B03523 #58B023 #239FB0
square
#7B23B0 #B03523 #58B023 #239FB0
split-complementary
#7B23B0 #9FB023 #23B035
monochromatic
#340F4A #57197D #7B23B0 #9C39D8 #B56CE2

Accessibility & contrast

On white

7.75
#7B23B0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#7B23B0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B23B0
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B23B0#FFFFFF#000000##FFFFFF
##7B23B01.007.752.717.75
#FFFFFF7.751.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.751.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7b23b0;
/* rgb */ color: rgb(123, 35, 176);
/* oklch */ color: oklch(46.7% 0.208 308.4);
Tailwind
colors: {
  custom: {
    50: '#a769c9',
    500: '#7b23b0',
    950: '#000000',
  },
}
SCSS
$custom: #7b23b0;
$custom-light: #a769c9;
$custom-dark: #000000;
JSON
{
  "hex": "#7b23b0",
  "rgb": {
    "r": 123,
    "g": 35,
    "b": 176
  },
  "hsl": {
    "h": 277.447,
    "s": 66.825,
    "l": 41.373
  },
  "oklch": {
    "l": 0.46745,
    "c": 0.20782,
    "h": 308.4
  },
  "luminance": 0.08548
}

Semantic roles & 50–950 ramp

primary
#7B23B0
secondary
#8BC867
accent
#EA3E7F
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7B23B0

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

Preview Lab → · Contrast checker → · Palette generator →

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