#7823A2#7823A2

#7823A2 is a mid, vivid purple. Relative luminance 0.078; OKLCH L 45.2% C 0.194 H 311.3°. Best body text is #FFFFFF at 8.20:1 contrast (WCAG AA passes).

Color values

HEX#7823A2
RGBrgb(120, 35, 162)
HSLhsl(280, 64%, 39%)
HSVhsv(280, 78%, 64%)
CMYKcmyk(25.9%, 78.4%, 0%, 36.5%)
CIE-LABlab(33.57, 55.73, -51.40)
CIE-LCHlch(33.57, 75.82, 317.31°)
OKLaboklab(45.24% 0.1282 -0.1456)
OKLCHoklch(45.24% 0.194 311.3)
XYZxyz(14.8671, 7.8042, 34.8986)
Luminance0.0780 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7823A2 #4DA223
analogous
#3823A2 #7823A2 #A2238C
triadic
#7823A2 #A27823 #23A278
tetradic
#7823A2 #A23823 #4DA223 #238CA2
square
#7823A2 #A23823 #4DA223 #238CA2
split-complementary
#7823A2 #8CA223 #23A238
monochromatic
#2D0D3D #531870 #7823A2 #9D30D2 #B462DD

Accessibility & contrast

On white

8.20
#7823A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#7823A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7823A2
8.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7823A2#FFFFFF#000000##FFFFFF
##7823A21.008.202.568.20
#FFFFFF8.201.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BA5
Deuteranopia (green-blind)
#04509F
Tritanopia (blue-blind)
#734262
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #7823a2;
/* rgb */ color: rgb(120, 35, 162);
/* oklch */ color: oklch(45.2% 0.194 311.3);
Tailwind
colors: {
  custom: {
    50: '#a468be',
    500: '#7823a2',
    950: '#000000',
  },
}
SCSS
$custom: #7823a2;
$custom-light: #a468be;
$custom-dark: #000000;
JSON
{
  "hex": "#7823a2",
  "rgb": {
    "r": 120,
    "g": 35,
    "b": 162
  },
  "hsl": {
    "h": 280.157,
    "s": 64.467,
    "l": 38.627
  },
  "oklch": {
    "l": 0.45244,
    "c": 0.194,
    "h": 311.3
  },
  "luminance": 0.07804
}

Semantic roles & 50–950 ramp

primary
#7823A2
secondary
#80C25E
accent
#E74078
background
#FAF6FB
surface
#F4EBF7
border
#CEC6D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #7823A2

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

Preview Lab → · Contrast checker → · Palette generator →

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