#823EBA#823EBA

#823EBA is a mid, vivid violet. Relative luminance 0.117; OKLCH L 51.2% C 0.189 H 305.9°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#823EBA
RGBrgb(130, 62, 186)
HSLhsl(273, 50%, 49%)
HSVhsv(273, 67%, 73%)
CMYKcmyk(30.1%, 66.7%, 0%, 27.1%)
CIE-LABlab(40.79, 51.55, -53.94)
CIE-LCHlch(40.79, 74.61, 313.70°)
OKLaboklab(51.22% 0.1108 -0.1529)
OKLCHoklch(51.22% 0.189 305.9)
XYZxyz(19.7895, 11.7364, 47.6677)
Luminance0.1174 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#823EBA #76BA3E
analogous
#443EBA #823EBA #BA3EB4
triadic
#823EBA #BA823E #3EBA82
tetradic
#823EBA #BA443E #76BA3E #3EB4BA
square
#823EBA #BA443E #76BA3E #3EB4BA
split-complementary
#823EBA #B4BA3E #3EBA44
monochromatic
#421F5E #622F8C #823EBA #9F68CD #BD96DC

Accessibility & contrast

On white

6.27
#823EBA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#823EBA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #823EBA
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##823EBA#FFFFFF#000000##FFFFFF
##823EBA1.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EBE
Deuteranopia (green-blind)
#1C60B7
Tritanopia (blue-blind)
#785977
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #823eba;
/* rgb */ color: rgb(130, 62, 186);
/* oklch */ color: oklch(51.2% 0.189 305.9);
Tailwind
colors: {
  custom: {
    50: '#ab78cf',
    500: '#823eba',
    950: '#000000',
  },
}
SCSS
$custom: #823eba;
$custom-light: #ab78cf;
$custom-dark: #000000;
JSON
{
  "hex": "#823eba",
  "rgb": {
    "r": 130,
    "g": 62,
    "b": 186
  },
  "hsl": {
    "h": 272.903,
    "s": 50,
    "l": 48.627
  },
  "oklch": {
    "l": 0.51216,
    "c": 0.18885,
    "h": 305.9
  },
  "luminance": 0.11736
}

Semantic roles & 50–950 ramp

primary
#823EBA
secondary
#A7C88C
accent
#DA4E8D
background
#FAF7FC
surface
#F5EDF9
border
#CFC8D2
text
#100914
muted
#7F7B82

Preview Lab

Preview with #823EBA

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

Preview Lab → · Contrast checker → · Palette generator →

#823EBA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva