#7823AF#7823AF

#7823AF is a mid, highly saturated violet. Relative luminance 0.083; OKLCH L 46.3% C 0.206 H 307.4°. Best body text is #FFFFFF at 7.90:1 contrast (WCAG AA passes).

Color values

HEX#7823AF
RGBrgb(120, 35, 175)
HSLhsl(276, 67%, 41%)
HSVhsv(276, 80%, 69%)
CMYKcmyk(31.4%, 80%, 0%, 31.4%)
CIE-LABlab(34.58, 58.53, -57.57)
CIE-LCHlch(34.58, 82.10, 315.48°)
OKLaboklab(46.27% 0.1252 -0.1638)
OKLCHoklch(46.27% 0.206 307.4)
XYZxyz(16.0830, 8.2905, 41.3021)
Luminance0.0829 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7823AF #5AAF23
analogous
#3223AF #7823AF #AF23A0
triadic
#7823AF #AF7823 #23AF78
tetradic
#7823AF #AF3223 #5AAF23 #23A0AF
square
#7823AF #AF3223 #5AAF23 #23A0AF
split-complementary
#7823AF #A0AF23 #23AF32
monochromatic
#320F49 #55197C #7823AF #9938D7 #B36BE1

Accessibility & contrast

On white

7.90
#7823AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#7823AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7823AF
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7823AF#FFFFFF#000000##FFFFFF
##7823AF1.007.902.667.90
#FFFFFF7.901.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB3
Deuteranopia (green-blind)
#0052AC
Tritanopia (blue-blind)
#6F486A
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #7823af;
/* rgb */ color: rgb(120, 35, 175);
/* oklch */ color: oklch(46.3% 0.206 307.4);
Tailwind
colors: {
  custom: {
    50: '#a469c8',
    500: '#7823af',
    950: '#000000',
  },
}
SCSS
$custom: #7823af;
$custom-light: #a469c8;
$custom-dark: #000000;
JSON
{
  "hex": "#7823af",
  "rgb": {
    "r": 120,
    "g": 35,
    "b": 175
  },
  "hsl": {
    "h": 276.429,
    "s": 66.667,
    "l": 41.176
  },
  "oklch": {
    "l": 0.46267,
    "c": 0.20612,
    "h": 307.4
  },
  "luminance": 0.0829
}

Semantic roles & 50–950 ramp

primary
#7823AF
secondary
#8CC766
accent
#EA3E82
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7823AF

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

Preview Lab → · Contrast checker → · Palette generator →

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