#7D23B3#7D23B3

#7D23B3 is a mid, highly saturated violet. Relative luminance 0.088; OKLCH L 47.3% C 0.211 H 308.4°. Best body text is #FFFFFF at 7.60:1 contrast (WCAG AA passes).

Color values

HEX#7D23B3
RGBrgb(125, 35, 179)
HSLhsl(278, 67%, 42%)
HSVhsv(278, 80%, 70%)
CMYKcmyk(30.2%, 80.4%, 0%, 29.8%)
CIE-LABlab(35.63, 60.24, -58.21)
CIE-LCHlch(35.63, 83.77, 315.98°)
OKLaboklab(47.25% 0.1311 -0.1655)
OKLCHoklch(47.25% 0.211 308.4)
XYZxyz(17.1935, 8.8170, 43.4352)
Luminance0.0882 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D23B3 #59B323
analogous
#3523B3 #7D23B3 #B323A1
triadic
#7D23B3 #B37D23 #23B37D
tetradic
#7D23B3 #B33523 #59B323 #23A1B3
square
#7D23B3 #B33523 #59B323 #23A1B3
split-complementary
#7D23B3 #A1B323 #23B335
monochromatic
#360F4D #591980 #7D23B3 #9D3BD9 #B76EE3

Accessibility & contrast

On white

7.60
#7D23B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#7D23B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D23B3
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D23B3#FFFFFF#000000##FFFFFF
##7D23B31.007.602.767.60
#FFFFFF7.601.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B7
Deuteranopia (green-blind)
#0055B0
Tritanopia (blue-blind)
#74496C
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #7d23b3;
/* rgb */ color: rgb(125, 35, 179);
/* oklch */ color: oklch(47.3% 0.211 308.4);
Tailwind
colors: {
  custom: {
    50: '#a86acb',
    500: '#7d23b3',
    950: '#000000',
  },
}
SCSS
$custom: #7d23b3;
$custom-light: #a86acb;
$custom-dark: #000000;
JSON
{
  "hex": "#7d23b3",
  "rgb": {
    "r": 125,
    "g": 35,
    "b": 179
  },
  "hsl": {
    "h": 277.5,
    "s": 67.29,
    "l": 41.961
  },
  "oklch": {
    "l": 0.4725,
    "c": 0.2111,
    "h": 308.4
  },
  "luminance": 0.08817
}

Semantic roles & 50–950 ramp

primary
#7D23B3
secondary
#8DC969
accent
#EA3E7E
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7D23B3

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

Preview Lab → · Contrast checker → · Palette generator →

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