#7823A5#7823A5

#7823A5 is a mid, vivid violet. Relative luminance 0.079; OKLCH L 45.5% C 0.197 H 310.4°. Best body text is #FFFFFF at 8.13:1 contrast (WCAG AA passes).

Color values

HEX#7823A5
RGBrgb(120, 35, 165)
HSLhsl(279, 65%, 39%)
HSVhsv(279, 79%, 65%)
CMYKcmyk(27.3%, 78.8%, 0%, 35.3%)
CIE-LABlab(33.80, 56.37, -52.84)
CIE-LCHlch(33.80, 77.27, 316.85°)
OKLaboklab(45.48% 0.1275 -0.1499)
OKLCHoklch(45.48% 0.197 310.4)
XYZxyz(15.1370, 7.9121, 36.3198)
Luminance0.0791 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7823A5 #50A523
analogous
#3723A5 #7823A5 #A52391
triadic
#7823A5 #A57823 #23A578
tetradic
#7823A5 #A53723 #50A523 #2391A5
square
#7823A5 #A53723 #50A523 #2391A5
split-complementary
#7823A5 #91A523 #23A537
monochromatic
#2F0E40 #531873 #7823A5 #9B32D3 #B464DE

Accessibility & contrast

On white

8.13
#7823A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#7823A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7823A5
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7823A5#FFFFFF#000000##FFFFFF
##7823A51.008.132.588.13
#FFFFFF8.131.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CA9
Deuteranopia (green-blind)
#0051A2
Tritanopia (blue-blind)
#724364
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #7823a5;
/* rgb */ color: rgb(120, 35, 165);
/* oklch */ color: oklch(45.5% 0.197 310.4);
Tailwind
colors: {
  custom: {
    50: '#a468c1',
    500: '#7823a5',
    950: '#000000',
  },
}
SCSS
$custom: #7823a5;
$custom-light: #a468c1;
$custom-dark: #000000;
JSON
{
  "hex": "#7823a5",
  "rgb": {
    "r": 120,
    "g": 35,
    "b": 165
  },
  "hsl": {
    "h": 279.231,
    "s": 65,
    "l": 39.216
  },
  "oklch": {
    "l": 0.45476,
    "c": 0.19679,
    "h": 310.4
  },
  "luminance": 0.07912
}

Semantic roles & 50–950 ramp

primary
#7823A5
secondary
#83C460
accent
#E8407A
background
#FAF6FB
surface
#F4EBF7
border
#CEC6D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #7823A5

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

Preview Lab → · Contrast checker → · Palette generator →

#7823A5 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva