#7823BD#7823BD

#7823BD is a mid, highly saturated violet. Relative luminance 0.089; OKLCH L 47.4% C 0.219 H 303.6°. Best body text is #FFFFFF at 7.57:1 contrast (WCAG AA passes).

Color values

HEX#7823BD
RGBrgb(120, 35, 189)
HSLhsl(273, 69%, 44%)
HSVhsv(273, 81%, 74%)
CMYKcmyk(36.5%, 81.5%, 0%, 25.9%)
CIE-LABlab(35.73, 61.63, -63.99)
CIE-LCHlch(35.73, 88.84, 313.92°)
OKLaboklab(47.43% 0.1213 -0.1826)
OKLCHoklch(47.43% 0.219 303.6)
XYZxyz(17.5299, 8.8693, 48.9227)
Luminance0.0887 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7823BD #68BD23
analogous
#2B23BD #7823BD #BD23B5
triadic
#7823BD #BD7823 #23BD78
tetradic
#7823BD #BD2B23 #68BD23 #23B5BD
square
#7823BD #BD2B23 #68BD23 #23B5BD
split-complementary
#7823BD #B5BD23 #23BD2B
monochromatic
#361056 #571989 #7823BD #9741DC #B375E5

Accessibility & contrast

On white

7.57
#7823BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#7823BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7823BD
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7823BD#FFFFFF#000000##FFFFFF
##7823BD1.007.572.777.57
#FFFFFF7.571.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052C1
Deuteranopia (green-blind)
#0054BA
Tritanopia (blue-blind)
#6A4E72
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #7823bd;
/* rgb */ color: rgb(120, 35, 189);
/* oklch */ color: oklch(47.4% 0.219 303.6);
Tailwind
colors: {
  custom: {
    50: '#a66ad2',
    500: '#7823bd',
    950: '#000000',
  },
}
SCSS
$custom: #7823bd;
$custom-light: #a66ad2;
$custom-dark: #000000;
JSON
{
  "hex": "#7823bd",
  "rgb": {
    "r": 120,
    "g": 35,
    "b": 189
  },
  "hsl": {
    "h": 273.117,
    "s": 68.75,
    "l": 43.922
  },
  "oklch": {
    "l": 0.47425,
    "c": 0.21925,
    "h": 303.6
  },
  "luminance": 0.08869
}

Semantic roles & 50–950 ramp

primary
#7823BD
secondary
#99CD6F
accent
#EC3C8B
background
#FAF6FD
surface
#F4ECFA
border
#CEC7D3
text
#100714
muted
#7F7A83

Preview Lab

Preview with #7823BD

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

Preview Lab → · Contrast checker → · Palette generator →

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