#8334CB#8334CB

#8334CB is a mid, highly saturated violet. Relative luminance 0.116; OKLCH L 51.5% C 0.219 H 303.1°. Best body text is #FFFFFF at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#8334CB
RGBrgb(131, 52, 203)
HSLhsl(271, 59%, 50%)
HSVhsv(271, 74%, 80%)
CMYKcmyk(35.5%, 74.4%, 0%, 20.4%)
CIE-LABlab(40.56, 60.21, -64.23)
CIE-LCHlch(40.56, 88.04, 313.15°)
OKLaboklab(51.47% 0.1196 -0.1831)
OKLCHoklch(51.47% 0.219 303.1)
XYZxyz(21.3650, 11.5931, 57.6004)
Luminance0.1159 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8334CB #7CCB34
analogous
#3834CB #8334CB #CB34C7
triadic
#8334CB #CB8334 #34CB83
tetradic
#8334CB #CB3834 #7CCB34 #34C7CB
square
#8334CB #CB3834 #7CCB34 #34C7CB
split-complementary
#8334CB #C7CB34 #34CB38
monochromatic
#441B6A #64289A #8334CB #A165D7 #BF95E4

Accessibility & contrast

On white

6.33
#8334CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#8334CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8334CB
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8334CB#FFFFFF#000000##FFFFFF
##8334CB1.006.333.326.33
#FFFFFF6.331.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ECF
Deuteranopia (green-blind)
#005FC8
Tritanopia (blue-blind)
#745A7D
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #8334cb;
/* rgb */ color: rgb(131, 52, 203);
/* oklch */ color: oklch(51.5% 0.219 303.1);
Tailwind
colors: {
  custom: {
    50: '#ad73dc',
    500: '#8334cb',
    950: '#000000',
  },
}
SCSS
$custom: #8334cb;
$custom-light: #ad73dc;
$custom-dark: #000000;
JSON
{
  "hex": "#8334cb",
  "rgb": {
    "r": 131,
    "g": 52,
    "b": 203
  },
  "hsl": {
    "h": 271.391,
    "s": 59.216,
    "l": 50
  },
  "oklch": {
    "l": 0.51469,
    "c": 0.21866,
    "h": 303.1
  },
  "luminance": 0.11593
}

Semantic roles & 50–950 ramp

primary
#8334CB
secondary
#ACCF8C
accent
#E24590
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#110915
muted
#807B83

Preview Lab

Preview with #8334CB

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

Preview Lab → · Contrast checker → · Palette generator →

#8334CB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva