#7823AC#7823AC

#7823AC is a mid, highly saturated violet. Relative luminance 0.082; OKLCH L 46.0% C 0.203 H 308.3°. Best body text is #FFFFFF at 7.97:1 contrast (WCAG AA passes).

Color values

HEX#7823AC
RGBrgb(120, 35, 172)
HSLhsl(277, 66%, 41%)
HSVhsv(277, 80%, 67%)
CMYKcmyk(30.2%, 79.7%, 0%, 32.5%)
CIE-LABlab(34.34, 57.88, -56.16)
CIE-LCHlch(34.34, 80.65, 315.86°)
OKLaboklab(46.03% 0.1259 -0.1596)
OKLCHoklch(46.03% 0.203 308.3)
XYZxyz(15.7916, 8.1739, 39.7676)
Luminance0.0817 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7823AC #57AC23
analogous
#3323AC #7823AC #AC239C
triadic
#7823AC #AC7823 #23AC78
tetradic
#7823AC #AC3323 #57AC23 #239CAC
square
#7823AC #AC3323 #57AC23 #239CAC
split-complementary
#7823AC #9CAC23 #23AC33
monochromatic
#310E46 #551979 #7823AC #9936D6 #B369E0

Accessibility & contrast

On white

7.97
#7823AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#7823AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7823AC
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7823AC#FFFFFF#000000##FFFFFF
##7823AC1.007.972.637.97
#FFFFFF7.971.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EB0
Deuteranopia (green-blind)
#0052A9
Tritanopia (blue-blind)
#704668
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #7823ac;
/* rgb */ color: rgb(120, 35, 172);
/* oklch */ color: oklch(46.0% 0.203 308.3);
Tailwind
colors: {
  custom: {
    50: '#a469c6',
    500: '#7823ac',
    950: '#000000',
  },
}
SCSS
$custom: #7823ac;
$custom-light: #a469c6;
$custom-dark: #000000;
JSON
{
  "hex": "#7823ac",
  "rgb": {
    "r": 120,
    "g": 35,
    "b": 172
  },
  "hsl": {
    "h": 277.226,
    "s": 66.184,
    "l": 40.588
  },
  "oklch": {
    "l": 0.46026,
    "c": 0.20332,
    "h": 308.3
  },
  "luminance": 0.08174
}

Semantic roles & 50–950 ramp

primary
#7823AC
secondary
#8AC664
accent
#E93F7F
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7823AC

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

Preview Lab → · Contrast checker → · Palette generator →

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