#7823A9#7823A9

#7823A9 is a mid, highly saturated violet. Relative luminance 0.081; OKLCH L 45.8% C 0.201 H 309.2°. Best body text is #FFFFFF at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#7823A9
RGBrgb(120, 35, 169)
HSLhsl(278, 66%, 40%)
HSVhsv(278, 79%, 66%)
CMYKcmyk(29%, 79.3%, 0%, 33.7%)
CIE-LABlab(34.11, 57.23, -54.75)
CIE-LCHlch(34.11, 79.20, 316.27°)
OKLaboklab(45.79% 0.1266 -0.1555)
OKLCHoklch(45.79% 0.201 309.2)
XYZxyz(15.5067, 8.0600, 38.2673)
Luminance0.0806 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7823A9 #54A923
analogous
#3523A9 #7823A9 #A92397
triadic
#7823A9 #A97823 #23A978
tetradic
#7823A9 #A93523 #54A923 #2397A9
square
#7823A9 #A93523 #54A923 #2397A9
split-complementary
#7823A9 #97A923 #23A935
monochromatic
#300E44 #541976 #7823A9 #9A34D5 #B367DF

Accessibility & contrast

On white

8.04
#7823A9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#7823A9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7823A9
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7823A9#FFFFFF#000000##FFFFFF
##7823A91.008.042.618.04
#FFFFFF8.041.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DAD
Deuteranopia (green-blind)
#0051A6
Tritanopia (blue-blind)
#714566
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #7823a9;
/* rgb */ color: rgb(120, 35, 169);
/* oklch */ color: oklch(45.8% 0.201 309.2);
Tailwind
colors: {
  custom: {
    50: '#a468c3',
    500: '#7823a9',
    950: '#000000',
  },
}
SCSS
$custom: #7823a9;
$custom-light: #a468c3;
$custom-dark: #000000;
JSON
{
  "hex": "#7823a9",
  "rgb": {
    "r": 120,
    "g": 35,
    "b": 169
  },
  "hsl": {
    "h": 278.06,
    "s": 65.686,
    "l": 40
  },
  "oklch": {
    "l": 0.45788,
    "c": 0.20052,
    "h": 309.2
  },
  "luminance": 0.0806
}

Semantic roles & 50–950 ramp

primary
#7823A9
secondary
#87C563
accent
#E93F7D
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7823A9

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

Preview Lab → · Contrast checker → · Palette generator →

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