#7823A7#7823A7

#7823A7 is a mid, vivid violet. Relative luminance 0.080; OKLCH L 45.6% C 0.199 H 309.8°. Best body text is #FFFFFF at 8.09:1 contrast (WCAG AA passes).

Color values

HEX#7823A7
RGBrgb(120, 35, 167)
HSLhsl(279, 65%, 40%)
HSVhsv(279, 79%, 65%)
CMYKcmyk(28.1%, 79%, 0%, 34.5%)
CIE-LABlab(33.95, 56.80, -53.80)
CIE-LCHlch(33.95, 78.23, 316.55°)
OKLaboklab(45.63% 0.1271 -0.1527)
OKLCHoklch(45.63% 0.199 309.8)
XYZxyz(15.3204, 7.9855, 37.2860)
Luminance0.0799 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7823A7 #52A723
analogous
#3623A7 #7823A7 #A72394
triadic
#7823A7 #A77823 #23A778
tetradic
#7823A7 #A73623 #52A723 #2394A7
square
#7823A7 #A73623 #52A723 #2394A7
split-complementary
#7823A7 #94A723 #23A736
monochromatic
#2F0E42 #541874 #7823A7 #9B33D4 #B466DF

Accessibility & contrast

On white

8.09
#7823A7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#7823A7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7823A7
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7823A7#FFFFFF#000000##FFFFFF
##7823A71.008.092.608.09
#FFFFFF8.091.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CAB
Deuteranopia (green-blind)
#0051A4
Tritanopia (blue-blind)
#714465
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #7823a7;
/* rgb */ color: rgb(120, 35, 167);
/* oklch */ color: oklch(45.6% 0.199 309.8);
Tailwind
colors: {
  custom: {
    50: '#a468c2',
    500: '#7823a7',
    950: '#000000',
  },
}
SCSS
$custom: #7823a7;
$custom-light: #a468c2;
$custom-dark: #000000;
JSON
{
  "hex": "#7823a7",
  "rgb": {
    "r": 120,
    "g": 35,
    "b": 167
  },
  "hsl": {
    "h": 278.636,
    "s": 65.347,
    "l": 39.608
  },
  "oklch": {
    "l": 0.45631,
    "c": 0.19865,
    "h": 309.8
  },
  "luminance": 0.07985
}

Semantic roles & 50–950 ramp

primary
#7823A7
secondary
#85C461
accent
#E83F7C
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#100712
muted
#7F7A81

Preview Lab

Preview with #7823A7

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

Preview Lab → · Contrast checker → · Palette generator →

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