#8C23D4#8C23D4

#8C23D4 is a mid, highly saturated violet. Relative luminance 0.115; OKLCH L 51.9% C 0.244 H 305.7°. Best body text is #FFFFFF at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#8C23D4
RGBrgb(140, 35, 212)
HSLhsl(276, 72%, 48%)
HSVhsv(276, 83%, 83%)
CMYKcmyk(34%, 83.5%, 0%, 16.9%)
CIE-LABlab(40.46, 69.55, -69.55)
CIE-LCHlch(40.46, 98.36, 315.00°)
OKLaboklab(51.88% 0.1425 -0.1983)
OKLCHoklch(51.88% 0.244 305.7)
XYZxyz(23.2972, 11.5312, 63.2730)
Luminance0.1153 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C23D4 #6BD423
analogous
#3323D4 #8C23D4 #D423C3
triadic
#8C23D4 #D48C23 #23D48C
tetradic
#8C23D4 #D43323 #6BD423 #23C3D4
square
#8C23D4 #D43323 #6BD423 #23C3D4
split-complementary
#8C23D4 #C3D423 #23D433
monochromatic
#47126B #691A9F #8C23D4 #A852E2 #C286EB

Accessibility & contrast

On white

6.35
#8C23D4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#8C23D4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8C23D4
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C23D4#FFFFFF#000000##FFFFFF
##8C23D41.006.353.316.35
#FFFFFF6.351.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DD9
Deuteranopia (green-blind)
#0060D1
Tritanopia (blue-blind)
#7E567F
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #8c23d4;
/* rgb */ color: rgb(140, 35, 212);
/* oklch */ color: oklch(51.9% 0.244 305.7);
Tailwind
colors: {
  custom: {
    50: '#b46de2',
    500: '#8c23d4',
    950: '#000000',
  },
}
SCSS
$custom: #8c23d4;
$custom-light: #b46de2;
$custom-dark: #000000;
JSON
{
  "hex": "#8c23d4",
  "rgb": {
    "r": 140,
    "g": 35,
    "b": 212
  },
  "hsl": {
    "h": 275.593,
    "s": 71.66,
    "l": 48.431
  },
  "oklch": {
    "l": 0.5188,
    "c": 0.24419,
    "h": 305.7
  },
  "luminance": 0.11531
}

Semantic roles & 50–950 ramp

primary
#8C23D4
secondary
#A1D47E
accent
#EE3983
background
#FBF7FE
surface
#F6EDFC
border
#D0C8D5
text
#120816
muted
#817B84

Preview Lab

Preview with #8C23D4

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

Preview Lab → · Contrast checker → · Palette generator →

#8C23D4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva