#7B23BD#7B23BD

#7B23BD is a mid, highly saturated violet. Relative luminance 0.091; OKLCH L 47.8% C 0.220 H 304.8°. Best body text is #FFFFFF at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#7B23BD
RGBrgb(123, 35, 189)
HSLhsl(274, 69%, 44%)
HSVhsv(274, 81%, 74%)
CMYKcmyk(34.9%, 81.5%, 0%, 25.9%)
CIE-LABlab(36.15, 62.09, -63.29)
CIE-LCHlch(36.15, 88.66, 314.45°)
OKLaboklab(47.81% 0.1256 -0.1805)
OKLCHoklch(47.81% 0.22 304.8)
XYZxyz(17.9526, 9.0872, 48.9425)
Luminance0.0909 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B23BD #65BD23
analogous
#2E23BD #7B23BD #BD23B2
triadic
#7B23BD #BD7B23 #23BD7B
tetradic
#7B23BD #BD2E23 #65BD23 #23B2BD
square
#7B23BD #BD2E23 #65BD23 #23B2BD
split-complementary
#7B23BD #B2BD23 #23BD2E
monochromatic
#381056 #591989 #7B23BD #9A41DC #B575E5

Accessibility & contrast

On white

7.45
#7B23BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#7B23BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B23BD
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B23BD#FFFFFF#000000##FFFFFF
##7B23BD1.007.452.827.45
#FFFFFF7.451.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053C1
Deuteranopia (green-blind)
#0055BA
Tritanopia (blue-blind)
#6E4E72
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #7b23bd;
/* rgb */ color: rgb(123, 35, 189);
/* oklch */ color: oklch(47.8% 0.220 304.8);
Tailwind
colors: {
  custom: {
    50: '#a86ad2',
    500: '#7b23bd',
    950: '#000000',
  },
}
SCSS
$custom: #7b23bd;
$custom-light: #a86ad2;
$custom-dark: #000000;
JSON
{
  "hex": "#7b23bd",
  "rgb": {
    "r": 123,
    "g": 35,
    "b": 189
  },
  "hsl": {
    "h": 274.286,
    "s": 68.75,
    "l": 43.922
  },
  "oklch": {
    "l": 0.47805,
    "c": 0.21985,
    "h": 304.8
  },
  "luminance": 0.09087
}

Semantic roles & 50–950 ramp

primary
#7B23BD
secondary
#97CD6F
accent
#EC3C87
background
#FAF6FD
surface
#F4ECFA
border
#CEC7D3
text
#100714
muted
#7F7A83

Preview Lab

Preview with #7B23BD

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

Preview Lab → · Contrast checker → · Palette generator →

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