#8F23D4#8F23D4

#8F23D4 is a mid, highly saturated violet. Relative luminance 0.118; OKLCH L 52.3% C 0.245 H 306.8°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#8F23D4
RGBrgb(143, 35, 212)
HSLhsl(277, 72%, 48%)
HSVhsv(277, 83%, 83%)
CMYKcmyk(32.5%, 83.5%, 0%, 16.9%)
CIE-LABlab(40.89, 69.98, -68.83)
CIE-LCHlch(40.89, 98.16, 315.47°)
OKLaboklab(52.26% 0.1466 -0.1961)
OKLCHoklch(52.26% 0.245 306.8)
XYZxyz(23.8098, 11.7954, 63.2970)
Luminance0.1179 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F23D4 #68D423
analogous
#3623D4 #8F23D4 #D423C0
triadic
#8F23D4 #D48F23 #23D48F
tetradic
#8F23D4 #D43623 #68D423 #23C0D4
square
#8F23D4 #D43623 #68D423 #23C0D4
split-complementary
#8F23D4 #C0D423 #23D436
monochromatic
#48126B #6C1A9F #8F23D4 #AA52E2 #C486EB

Accessibility & contrast

On white

6.25
#8F23D4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#8F23D4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F23D4
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F23D4#FFFFFF#000000##FFFFFF
##8F23D41.006.253.366.25
#FFFFFF6.251.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DD9
Deuteranopia (green-blind)
#0061D1
Tritanopia (blue-blind)
#83557F
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #8f23d4;
/* rgb */ color: rgb(143, 35, 212);
/* oklch */ color: oklch(52.3% 0.245 306.8);
Tailwind
colors: {
  custom: {
    50: '#b66ee2',
    500: '#8f23d4',
    950: '#000000',
  },
}
SCSS
$custom: #8f23d4;
$custom-light: #b66ee2;
$custom-dark: #000000;
JSON
{
  "hex": "#8f23d4",
  "rgb": {
    "r": 143,
    "g": 35,
    "b": 212
  },
  "hsl": {
    "h": 276.61,
    "s": 71.66,
    "l": 48.431
  },
  "oklch": {
    "l": 0.52265,
    "c": 0.24484,
    "h": 306.8
  },
  "luminance": 0.11795
}

Semantic roles & 50–950 ramp

primary
#8F23D4
secondary
#A0D47E
accent
#EE3980
background
#FBF7FE
surface
#F7EDFC
border
#D0C8D5
text
#120816
muted
#817B84

Preview Lab

Preview with #8F23D4

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

Preview Lab → · Contrast checker → · Palette generator →

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