#7E23B0#7E23B0

#7E23B0 is a mid, highly saturated violet. Relative luminance 0.088; OKLCH L 47.1% C 0.209 H 309.7°. Best body text is #FFFFFF at 7.62:1 contrast (WCAG AA passes).

Color values

HEX#7E23B0
RGBrgb(126, 35, 176)
HSLhsl(279, 67%, 41%)
HSVhsv(279, 80%, 69%)
CMYKcmyk(28.4%, 80.1%, 0%, 31%)
CIE-LABlab(35.54, 59.77, -56.56)
CIE-LCHlch(35.54, 82.29, 316.58°)
OKLaboklab(47.15% 0.1332 -0.1606)
OKLCHoklch(47.15% 0.209 309.7)
XYZxyz(17.0401, 8.7726, 41.8615)
Luminance0.0877 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E23B0 #55B023
analogous
#3723B0 #7E23B0 #B0239C
triadic
#7E23B0 #B07E23 #23B07E
tetradic
#7E23B0 #B03723 #55B023 #239CB0
square
#7E23B0 #B03723 #55B023 #239CB0
split-complementary
#7E23B0 #9CB023 #23B037
monochromatic
#350F4A #59197D #7E23B0 #9F39D8 #B86CE2

Accessibility & contrast

On white

7.62
#7E23B0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#7E23B0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E23B0
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E23B0#FFFFFF#000000##FFFFFF
##7E23B01.007.622.757.62
#FFFFFF7.621.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B4
Deuteranopia (green-blind)
#0055AD
Tritanopia (blue-blind)
#77476A
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #7e23b0;
/* rgb */ color: rgb(126, 35, 176);
/* oklch */ color: oklch(47.1% 0.209 309.7);
Tailwind
colors: {
  custom: {
    50: '#a96ac8',
    500: '#7e23b0',
    950: '#000000',
  },
}
SCSS
$custom: #7e23b0;
$custom-light: #a96ac8;
$custom-dark: #000000;
JSON
{
  "hex": "#7e23b0",
  "rgb": {
    "r": 126,
    "g": 35,
    "b": 176
  },
  "hsl": {
    "h": 278.723,
    "s": 66.825,
    "l": 41.373
  },
  "oklch": {
    "l": 0.47146,
    "c": 0.20863,
    "h": 309.7
  },
  "luminance": 0.08772
}

Semantic roles & 50–950 ramp

primary
#7E23B0
secondary
#89C867
accent
#EA3E7B
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7E23B0

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

Preview Lab → · Contrast checker → · Palette generator →

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