#7823C5#7823C5

#7823C5 is a mid, highly saturated violet. Relative luminance 0.092; OKLCH L 48.1% C 0.227 H 301.6°. Best body text is #FFFFFF at 7.38:1 contrast (WCAG AA passes).

Color values

HEX#7823C5
RGBrgb(120, 35, 197)
HSLhsl(271, 70%, 45%)
HSVhsv(271, 82%, 77%)
CMYKcmyk(39.1%, 82.2%, 0%, 22.7%)
CIE-LABlab(36.42, 63.43, -67.57)
CIE-LCHlch(36.42, 92.67, 313.19°)
OKLaboklab(48.11% 0.1188 -0.1931)
OKLCHoklch(48.11% 0.227 301.6)
XYZxyz(18.4223, 9.2262, 53.6228)
Luminance0.0923 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7823C5 #70C523
analogous
#2723C5 #7823C5 #C523C1
triadic
#7823C5 #C57823 #23C578
tetradic
#7823C5 #C52723 #70C523 #23C1C5
square
#7823C5 #C52723 #70C523 #23C1C5
split-complementary
#7823C5 #C1C523 #23C527
monochromatic
#39115D #581A91 #7823C5 #9647DE #B47BE8

Accessibility & contrast

On white

7.38
#7823C5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#7823C5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7823C5
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7823C5#FFFFFF#000000##FFFFFF
##7823C51.007.382.857.38
#FFFFFF7.381.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055C9
Deuteranopia (green-blind)
#0055C2
Tritanopia (blue-blind)
#675276
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #7823c5;
/* rgb */ color: rgb(120, 35, 197);
/* oklch */ color: oklch(48.1% 0.227 301.6);
Tailwind
colors: {
  custom: {
    50: '#a66ad8',
    500: '#7823c5',
    950: '#000000',
  },
}
SCSS
$custom: #7823c5;
$custom-light: #a66ad8;
$custom-dark: #000000;
JSON
{
  "hex": "#7823c5",
  "rgb": {
    "r": 120,
    "g": 35,
    "b": 197
  },
  "hsl": {
    "h": 271.481,
    "s": 69.828,
    "l": 45.49
  },
  "oklch": {
    "l": 0.4811,
    "c": 0.22676,
    "h": 301.6
  },
  "luminance": 0.09226
}

Semantic roles & 50–950 ramp

primary
#7823C5
secondary
#A0CF74
accent
#ED3B90
background
#FAF6FD
surface
#F4ECFA
border
#CEC7D3
text
#100715
muted
#7F7A83

Preview Lab

Preview with #7823C5

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

Preview Lab → · Contrast checker → · Palette generator →

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