#8B3FCB#8B3FCB

#8B3FCB is a mid, highly saturated violet. Relative luminance 0.134; OKLCH L 53.6% C 0.208 H 305.2°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#8B3FCB
RGBrgb(139, 63, 203)
HSLhsl(273, 57%, 52%)
HSVhsv(273, 69%, 80%)
CMYKcmyk(31.5%, 69%, 0%, 20.4%)
CIE-LABlab(43.29, 56.91, -59.75)
CIE-LCHlch(43.29, 82.51, 313.60°)
OKLaboklab(53.63% 0.1198 -0.1697)
OKLCHoklch(53.63% 0.208 305.2)
XYZxyz(23.2021, 13.3559, 57.8440)
Luminance0.1336 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B3FCB #7FCB3F
analogous
#453FCB #8B3FCB #CB3FC5
triadic
#8B3FCB #CB8B3F #3FCB8B
tetradic
#8B3FCB #CB453F #7FCB3F #3FC5CB
square
#8B3FCB #CB453F #7FCB3F #3FC5CB
split-complementary
#8B3FCB #C5CB3F #3FCB45
monochromatic
#4B1F71 #6B2CA1 #8B3FCB #A86FD8 #C59FE5

Accessibility & contrast

On white

5.72
#8B3FCB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#8B3FCB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B3FCB
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B3FCB#FFFFFF#000000##FFFFFF
##8B3FCB1.005.723.675.72
#FFFFFF5.721.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064CF
Deuteranopia (green-blind)
#0566C8
Tritanopia (blue-blind)
#7F5F80
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #8b3fcb;
/* rgb */ color: rgb(139, 63, 203);
/* oklch */ color: oklch(53.6% 0.208 305.2);
Tailwind
colors: {
  custom: {
    50: '#b27adc',
    500: '#8b3fcb',
    950: '#000000',
  },
}
SCSS
$custom: #8b3fcb;
$custom-light: #b27adc;
$custom-dark: #000000;
JSON
{
  "hex": "#8b3fcb",
  "rgb": {
    "r": 139,
    "g": 63,
    "b": 203
  },
  "hsl": {
    "h": 272.571,
    "s": 57.377,
    "l": 52.157
  },
  "oklch": {
    "l": 0.53629,
    "c": 0.20773,
    "h": 305.2
  },
  "luminance": 0.13356
}

Semantic roles & 50–950 ramp

primary
#8B3FCB
secondary
#B0D194
accent
#E1478D
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110A15
muted
#807C83

Preview Lab

Preview with #8B3FCB

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

Preview Lab → · Contrast checker → · Palette generator →

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