#7823A8#7823A8

#7823A8 is a mid, vivid violet. Relative luminance 0.080; OKLCH L 45.7% C 0.200 H 309.5°. Best body text is #FFFFFF at 8.06:1 contrast (WCAG AA passes).

Color values

HEX#7823A8
RGBrgb(120, 35, 168)
HSLhsl(278, 66%, 40%)
HSVhsv(278, 79%, 66%)
CMYKcmyk(28.6%, 79.2%, 0%, 34.1%)
CIE-LABlab(34.03, 57.01, -54.27)
CIE-LCHlch(34.03, 78.72, 316.41°)
OKLaboklab(45.71% 0.1269 -0.1541)
OKLCHoklch(45.71% 0.2 309.5)
XYZxyz(15.4132, 8.0226, 37.7748)
Luminance0.0802 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7823A8 #53A823
analogous
#3623A8 #7823A8 #A82395
triadic
#7823A8 #A87823 #23A878
tetradic
#7823A8 #A83623 #53A823 #2395A8
square
#7823A8 #A83623 #53A823 #2395A8
split-complementary
#7823A8 #95A823 #23A836
monochromatic
#300E43 #541875 #7823A8 #9B34D5 #B466DF

Accessibility & contrast

On white

8.06
#7823A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7823A8
8.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7823A8#FFFFFF#000000##FFFFFF
##7823A81.008.062.608.06
#FFFFFF8.061.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.061.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7823a8;
/* rgb */ color: rgb(120, 35, 168);
/* oklch */ color: oklch(45.7% 0.200 309.5);
Tailwind
colors: {
  custom: {
    50: '#a468c3',
    500: '#7823a8',
    950: '#000000',
  },
}
SCSS
$custom: #7823a8;
$custom-light: #a468c3;
$custom-dark: #000000;
JSON
{
  "hex": "#7823a8",
  "rgb": {
    "r": 120,
    "g": 35,
    "b": 168
  },
  "hsl": {
    "h": 278.346,
    "s": 65.517,
    "l": 39.804
  },
  "oklch": {
    "l": 0.4571,
    "c": 0.19959,
    "h": 309.5
  },
  "luminance": 0.08022
}

Semantic roles & 50–950 ramp

primary
#7823A8
secondary
#86C562
accent
#E83F7C
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7823A8

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

Preview Lab → · Contrast checker → · Palette generator →

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