#7823D4#7823D4

#7823D4 is a mid, highly saturated violet. Relative luminance 0.099; OKLCH L 49.4% C 0.241 H 298.2°. Best body text is #FFFFFF at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#7823D4
RGBrgb(120, 35, 212)
HSLhsl(269, 72%, 48%)
HSVhsv(269, 83%, 83%)
CMYKcmyk(43.4%, 83.5%, 0%, 16.9%)
CIE-LABlab(37.75, 66.84, -74.10)
CIE-LCHlch(37.75, 99.79, 312.05°)
OKLaboklab(49.44% 0.1138 -0.2123)
OKLCHoklch(49.44% 0.241 298.2)
XYZxyz(20.2273, 9.9482, 63.1291)
Luminance0.0995 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7823D4 #7FD423
analogous
#2326D4 #7823D4 #D023D4
triadic
#7823D4 #D47823 #23D478
tetradic
#7823D4 #D42326 #7FD423 #23D4D0
square
#7823D4 #D42326 #7FD423 #23D4D0
split-complementary
#7823D4 #D4D023 #26D423
monochromatic
#3D126B #5A1A9F #7823D4 #9752E2 #B786EB

Accessibility & contrast

On white

7.02
#7823D4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#7823D4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7823D4
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7823D4#FFFFFF#000000##FFFFFF
##7823D41.007.022.997.02
#FFFFFF7.021.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059D9
Deuteranopia (green-blind)
#0057D1
Tritanopia (blue-blind)
#60587F
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #7823d4;
/* rgb */ color: rgb(120, 35, 212);
/* oklch */ color: oklch(49.4% 0.241 298.2);
Tailwind
colors: {
  custom: {
    50: '#a86be2',
    500: '#7823d4',
    950: '#000000',
  },
}
SCSS
$custom: #7823d4;
$custom-light: #a86be2;
$custom-dark: #000000;
JSON
{
  "hex": "#7823d4",
  "rgb": {
    "r": 120,
    "g": 35,
    "b": 212
  },
  "hsl": {
    "h": 268.814,
    "s": 71.66,
    "l": 48.431
  },
  "oklch": {
    "l": 0.49436,
    "c": 0.24087,
    "h": 298.2
  },
  "luminance": 0.09949
}

Semantic roles & 50–950 ramp

primary
#7823D4
secondary
#ABD47E
accent
#EE3997
background
#FBF6FE
surface
#F6ECFC
border
#D0C7D5
text
#110716
muted
#807A84

Preview Lab

Preview with #7823D4

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

Preview Lab → · Contrast checker → · Palette generator →

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