#7D23B0#7D23B0

#7D23B0 is a mid, highly saturated violet. Relative luminance 0.087; OKLCH L 47.0% C 0.208 H 309.2°. Best body text is #FFFFFF at 7.67:1 contrast (WCAG AA passes).

Color values

HEX#7D23B0
RGBrgb(125, 35, 176)
HSLhsl(278, 67%, 41%)
HSVhsv(278, 80%, 69%)
CMYKcmyk(29%, 80.1%, 0%, 31%)
CIE-LABlab(35.39, 59.60, -56.81)
CIE-LCHlch(35.39, 82.33, 316.37°)
OKLaboklab(47.01% 0.1318 -0.1613)
OKLCHoklch(47.01% 0.208 309.2)
XYZxyz(16.8934, 8.6970, 41.8546)
Luminance0.0870 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D23B0 #56B023
analogous
#3723B0 #7D23B0 #B0239D
triadic
#7D23B0 #B07D23 #23B07D
tetradic
#7D23B0 #B03723 #56B023 #239DB0
square
#7D23B0 #B03723 #56B023 #239DB0
split-complementary
#7D23B0 #9DB023 #23B037
monochromatic
#340F4A #59197D #7D23B0 #9E39D8 #B76CE2

Accessibility & contrast

On white

7.67
#7D23B0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#7D23B0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D23B0
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D23B0#FFFFFF#000000##FFFFFF
##7D23B01.007.672.747.67
#FFFFFF7.671.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B4
Deuteranopia (green-blind)
#0054AD
Tritanopia (blue-blind)
#75476A
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #7d23b0;
/* rgb */ color: rgb(125, 35, 176);
/* oklch */ color: oklch(47.0% 0.208 309.2);
Tailwind
colors: {
  custom: {
    50: '#a86ac8',
    500: '#7d23b0',
    950: '#000000',
  },
}
SCSS
$custom: #7d23b0;
$custom-light: #a86ac8;
$custom-dark: #000000;
JSON
{
  "hex": "#7d23b0",
  "rgb": {
    "r": 125,
    "g": 35,
    "b": 176
  },
  "hsl": {
    "h": 278.298,
    "s": 66.825,
    "l": 41.373
  },
  "oklch": {
    "l": 0.47012,
    "c": 0.20835,
    "h": 309.2
  },
  "luminance": 0.08697
}

Semantic roles & 50–950 ramp

primary
#7D23B0
secondary
#8AC867
accent
#EA3E7C
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7D23B0

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

Preview Lab → · Contrast checker → · Palette generator →

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