#7823AD#7823AD

#7823AD is a mid, highly saturated violet. Relative luminance 0.082; OKLCH L 46.1% C 0.204 H 308.0°. Best body text is #FFFFFF at 7.95:1 contrast (WCAG AA passes).

Color values

HEX#7823AD
RGBrgb(120, 35, 173)
HSLhsl(277, 66%, 41%)
HSVhsv(277, 80%, 68%)
CMYKcmyk(30.6%, 79.8%, 0%, 32.2%)
CIE-LABlab(34.42, 58.10, -56.63)
CIE-LCHlch(34.42, 81.13, 315.73°)
OKLaboklab(46.11% 0.1257 -0.161)
OKLCHoklch(46.11% 0.204 308)
XYZxyz(15.8880, 8.2125, 40.2753)
Luminance0.0821 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7823AD #58AD23
analogous
#3323AD #7823AD #AD239D
triadic
#7823AD #AD7823 #23AD78
tetradic
#7823AD #AD3323 #58AD23 #239DAD
square
#7823AD #AD3323 #58AD23 #239DAD
split-complementary
#7823AD #9DAD23 #23AD33
monochromatic
#310E47 #55197A #7823AD #9937D6 #B36AE1

Accessibility & contrast

On white

7.95
#7823AD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#7823AD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7823AD
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7823AD#FFFFFF#000000##FFFFFF
##7823AD1.007.952.647.95
#FFFFFF7.951.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EB1
Deuteranopia (green-blind)
#0052AA
Tritanopia (blue-blind)
#6F4768
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #7823ad;
/* rgb */ color: rgb(120, 35, 173);
/* oklch */ color: oklch(46.1% 0.204 308.0);
Tailwind
colors: {
  custom: {
    50: '#a469c6',
    500: '#7823ad',
    950: '#000000',
  },
}
SCSS
$custom: #7823ad;
$custom-light: #a469c6;
$custom-dark: #000000;
JSON
{
  "hex": "#7823ad",
  "rgb": {
    "r": 120,
    "g": 35,
    "b": 173
  },
  "hsl": {
    "h": 276.957,
    "s": 66.346,
    "l": 40.784
  },
  "oklch": {
    "l": 0.46106,
    "c": 0.20425,
    "h": 308
  },
  "luminance": 0.08212
}

Semantic roles & 50–950 ramp

primary
#7823AD
secondary
#8BC765
accent
#E93F80
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7823AD

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

Preview Lab → · Contrast checker → · Palette generator →

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