#7823C1#7823C1

#7823C1 is a mid, highly saturated violet. Relative luminance 0.090; OKLCH L 47.8% C 0.223 H 302.6°. Best body text is #FFFFFF at 7.48:1 contrast (WCAG AA passes).

Color values

HEX#7823C1
RGBrgb(120, 35, 193)
HSLhsl(272, 69%, 45%)
HSVhsv(272, 82%, 76%)
CMYKcmyk(37.8%, 81.9%, 0%, 24.3%)
CIE-LABlab(36.07, 62.53, -65.79)
CIE-LCHlch(36.07, 90.76, 313.54°)
OKLaboklab(47.77% 0.1201 -0.1879)
OKLCHoklch(47.77% 0.223 302.6)
XYZxyz(17.9701, 9.0453, 51.2409)
Luminance0.0905 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7823C1 #6CC123
analogous
#2923C1 #7823C1 #C123BB
triadic
#7823C1 #C17823 #23C178
tetradic
#7823C1 #C12923 #6CC123 #23BBC1
square
#7823C1 #C12923 #6CC123 #23BBC1
split-complementary
#7823C1 #BBC123 #23C129
monochromatic
#381059 #581A8D #7823C1 #9644DD #B378E6

Accessibility & contrast

On white

7.48
#7823C1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#7823C1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7823C1
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7823C1#FFFFFF#000000##FFFFFF
##7823C11.007.482.817.48
#FFFFFF7.481.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054C5
Deuteranopia (green-blind)
#0054BE
Tritanopia (blue-blind)
#685074
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #7823c1;
/* rgb */ color: rgb(120, 35, 193);
/* oklch */ color: oklch(47.8% 0.223 302.6);
Tailwind
colors: {
  custom: {
    50: '#a66ad5',
    500: '#7823c1',
    950: '#000000',
  },
}
SCSS
$custom: #7823c1;
$custom-light: #a66ad5;
$custom-dark: #000000;
JSON
{
  "hex": "#7823c1",
  "rgb": {
    "r": 120,
    "g": 35,
    "b": 193
  },
  "hsl": {
    "h": 272.278,
    "s": 69.298,
    "l": 44.706
  },
  "oklch": {
    "l": 0.47765,
    "c": 0.223,
    "h": 302.6
  },
  "luminance": 0.09045
}

Semantic roles & 50–950 ramp

primary
#7823C1
secondary
#9CCE72
accent
#EC3C8D
background
#FAF6FD
surface
#F4ECFA
border
#CEC7D3
text
#100714
muted
#7F7A83

Preview Lab

Preview with #7823C1

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

Preview Lab → · Contrast checker → · Palette generator →

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