#7B23D4#7B23D4

#7B23D4 is a mid, highly saturated violet. Relative luminance 0.102; OKLCH L 49.8% C 0.241 H 299.4°. Best body text is #FFFFFF at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#7B23D4
RGBrgb(123, 35, 212)
HSLhsl(270, 72%, 48%)
HSVhsv(270, 83%, 83%)
CMYKcmyk(42%, 83.5%, 0%, 16.9%)
CIE-LABlab(38.14, 67.22, -73.44)
CIE-LCHlch(38.14, 99.57, 312.47°)
OKLaboklab(49.79% 0.1183 -0.2103)
OKLCHoklch(49.79% 0.241 299.4)
XYZxyz(20.6500, 10.1662, 63.1489)
Luminance0.1017 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B23D4 #7CD423
analogous
#2323D4 #7B23D4 #D323D4
triadic
#7B23D4 #D47B23 #23D47B
tetradic
#7B23D4 #D42323 #7CD423 #23D4D3
square
#7B23D4 #D42323 #7CD423 #23D4D3
split-complementary
#7B23D4 #D4D323 #23D423
monochromatic
#3E126B #5D1A9F #7B23D4 #9A52E2 #B886EB

Accessibility & contrast

On white

6.92
#7B23D4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#7B23D4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B23D4
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B23D4#FFFFFF#000000##FFFFFF
##7B23D41.006.923.036.92
#FFFFFF6.921.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AD9
Deuteranopia (green-blind)
#0058D1
Tritanopia (blue-blind)
#65587F
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #7b23d4;
/* rgb */ color: rgb(123, 35, 212);
/* oklch */ color: oklch(49.8% 0.241 299.4);
Tailwind
colors: {
  custom: {
    50: '#aa6be2',
    500: '#7b23d4',
    950: '#000000',
  },
}
SCSS
$custom: #7b23d4;
$custom-light: #aa6be2;
$custom-dark: #000000;
JSON
{
  "hex": "#7b23d4",
  "rgb": {
    "r": 123,
    "g": 35,
    "b": 212
  },
  "hsl": {
    "h": 269.831,
    "s": 71.66,
    "l": 48.431
  },
  "oklch": {
    "l": 0.49788,
    "c": 0.24124,
    "h": 299.4
  },
  "luminance": 0.10166
}

Semantic roles & 50–950 ramp

primary
#7B23D4
secondary
#AAD47E
accent
#EE3994
background
#FBF6FE
surface
#F6ECFC
border
#D0C7D5
text
#110816
muted
#807A84

Preview Lab

Preview with #7B23D4

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

Preview Lab → · Contrast checker → · Palette generator →

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