#7823BE#7823BE

#7823BE is a mid, highly saturated violet. Relative luminance 0.089; OKLCH L 47.5% C 0.220 H 303.3°. Best body text is #FFFFFF at 7.55:1 contrast (WCAG AA passes).

Color values

HEX#7823BE
RGBrgb(120, 35, 190)
HSLhsl(273, 69%, 44%)
HSVhsv(273, 82%, 75%)
CMYKcmyk(36.8%, 81.6%, 0%, 25.5%)
CIE-LABlab(35.82, 61.85, -64.44)
CIE-LCHlch(35.82, 89.32, 313.83°)
OKLaboklab(47.51% 0.121 -0.1839)
OKLCHoklch(47.51% 0.22 303.3)
XYZxyz(17.6388, 8.9128, 49.4963)
Luminance0.0891 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7823BE #69BE23
analogous
#2A23BE #7823BE #BE23B7
triadic
#7823BE #BE7823 #23BE78
tetradic
#7823BE #BE2A23 #69BE23 #23B7BE
square
#7823BE #BE2A23 #69BE23 #23B7BE
split-complementary
#7823BE #B7BE23 #23BE2A
monochromatic
#371057 #57198A #7823BE #9742DC #B376E6

Accessibility & contrast

On white

7.55
#7823BE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#7823BE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7823BE
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7823BE#FFFFFF#000000##FFFFFF
##7823BE1.007.552.787.55
#FFFFFF7.551.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053C2
Deuteranopia (green-blind)
#0054BB
Tritanopia (blue-blind)
#694E72
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #7823be;
/* rgb */ color: rgb(120, 35, 190);
/* oklch */ color: oklch(47.5% 0.220 303.3);
Tailwind
colors: {
  custom: {
    50: '#a66ad3',
    500: '#7823be',
    950: '#000000',
  },
}
SCSS
$custom: #7823be;
$custom-light: #a66ad3;
$custom-dark: #000000;
JSON
{
  "hex": "#7823be",
  "rgb": {
    "r": 120,
    "g": 35,
    "b": 190
  },
  "hsl": {
    "h": 272.903,
    "s": 68.889,
    "l": 44.118
  },
  "oklch": {
    "l": 0.47509,
    "c": 0.22018,
    "h": 303.3
  },
  "luminance": 0.08913
}

Semantic roles & 50–950 ramp

primary
#7823BE
secondary
#9ACD70
accent
#EC3C8B
background
#FAF6FD
surface
#F4ECFA
border
#CEC7D3
text
#100714
muted
#7F7A83

Preview Lab

Preview with #7823BE

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

Preview Lab → · Contrast checker → · Palette generator →

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