#7823BC#7823BC

#7823BC is a mid, highly saturated violet. Relative luminance 0.088; OKLCH L 47.3% C 0.218 H 303.9°. Best body text is #FFFFFF at 7.59:1 contrast (WCAG AA passes).

Color values

HEX#7823BC
RGBrgb(120, 35, 188)
HSLhsl(273, 69%, 44%)
HSVhsv(273, 81%, 74%)
CMYKcmyk(36.2%, 81.4%, 0%, 26.3%)
CIE-LABlab(35.65, 61.41, -63.54)
CIE-LCHlch(35.65, 88.36, 314.02°)
OKLaboklab(47.34% 0.1216 -0.1813)
OKLCHoklch(47.34% 0.218 303.9)
XYZxyz(17.4217, 8.8260, 48.3530)
Luminance0.0883 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7823BC #67BC23
analogous
#2B23BC #7823BC #BC23B3
triadic
#7823BC #BC7823 #23BC78
tetradic
#7823BC #BC2B23 #67BC23 #23B3BC
square
#7823BC #BC2B23 #67BC23 #23B3BC
split-complementary
#7823BC #B3BC23 #23BC2B
monochromatic
#361055 #571988 #7823BC #9741DC #B374E5

Accessibility & contrast

On white

7.59
#7823BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7823BC
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7823BC#FFFFFF#000000##FFFFFF
##7823BC1.007.592.777.59
#FFFFFF7.591.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052C0
Deuteranopia (green-blind)
#0054B9
Tritanopia (blue-blind)
#6A4D71
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #7823bc;
/* rgb */ color: rgb(120, 35, 188);
/* oklch */ color: oklch(47.3% 0.218 303.9);
Tailwind
colors: {
  custom: {
    50: '#a66ad1',
    500: '#7823bc',
    950: '#000000',
  },
}
SCSS
$custom: #7823bc;
$custom-light: #a66ad1;
$custom-dark: #000000;
JSON
{
  "hex": "#7823bc",
  "rgb": {
    "r": 120,
    "g": 35,
    "b": 188
  },
  "hsl": {
    "h": 273.333,
    "s": 68.61,
    "l": 43.725
  },
  "oklch": {
    "l": 0.4734,
    "c": 0.2183,
    "h": 303.9
  },
  "luminance": 0.08826
}

Semantic roles & 50–950 ramp

primary
#7823BC
secondary
#98CC6F
accent
#EB3C8A
background
#FAF6FD
surface
#F4ECFA
border
#CEC7D3
text
#100714
muted
#7F7A83

Preview Lab

Preview with #7823BC

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

Preview Lab → · Contrast checker → · Palette generator →

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