#8E3FCB#8E3FCB

#8E3FCB is a mid, highly saturated violet. Relative luminance 0.136; OKLCH L 54.0% C 0.208 H 306.4°. Best body text is #FFFFFF at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#8E3FCB
RGBrgb(142, 63, 203)
HSLhsl(274, 57%, 52%)
HSVhsv(274, 69%, 80%)
CMYKcmyk(30%, 69%, 0%, 20.4%)
CIE-LABlab(43.68, 57.51, -59.11)
CIE-LCHlch(43.68, 82.47, 314.22°)
OKLaboklab(53.99% 0.1238 -0.1677)
OKLCHoklch(53.99% 0.208 306.4)
XYZxyz(23.7100, 13.6178, 57.8678)
Luminance0.1362 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E3FCB #7CCB3F
analogous
#483FCB #8E3FCB #CB3FC2
triadic
#8E3FCB #CB8E3F #3FCB8E
tetradic
#8E3FCB #CB483F #7CCB3F #3FC2CB
square
#8E3FCB #CB483F #7CCB3F #3FC2CB
split-complementary
#8E3FCB #C2CB3F #3FCB48
monochromatic
#4D1F71 #6E2CA1 #8E3FCB #AA6FD8 #C79FE5

Accessibility & contrast

On white

5.64
#8E3FCB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#8E3FCB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E3FCB
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E3FCB#FFFFFF#000000##FFFFFF
##8E3FCB1.005.643.725.64
#FFFFFF5.641.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065CF
Deuteranopia (green-blind)
#1268C8
Tritanopia (blue-blind)
#845F80
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #8e3fcb;
/* rgb */ color: rgb(142, 63, 203);
/* oklch */ color: oklch(54.0% 0.208 306.4);
Tailwind
colors: {
  custom: {
    50: '#b47adc',
    500: '#8e3fcb',
    950: '#000000',
  },
}
SCSS
$custom: #8e3fcb;
$custom-light: #b47adc;
$custom-dark: #000000;
JSON
{
  "hex": "#8e3fcb",
  "rgb": {
    "r": 142,
    "g": 63,
    "b": 203
  },
  "hsl": {
    "h": 273.857,
    "s": 57.377,
    "l": 52.157
  },
  "oklch": {
    "l": 0.53987,
    "c": 0.20846,
    "h": 306.4
  },
  "luminance": 0.13618
}

Semantic roles & 50–950 ramp

primary
#8E3FCB
secondary
#AFD194
accent
#E1478A
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#120A15
muted
#817C83

Preview Lab

Preview with #8E3FCB

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

Preview Lab → · Contrast checker → · Palette generator →

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