#8334CA#8334CA

#8334CA is a mid, highly saturated violet. Relative luminance 0.115; OKLCH L 51.4% C 0.218 H 303.4°. Best body text is #FFFFFF at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#8334CA
RGBrgb(131, 52, 202)
HSLhsl(272, 59%, 50%)
HSVhsv(272, 74%, 79%)
CMYKcmyk(35.1%, 74.3%, 0%, 20.8%)
CIE-LABlab(40.48, 59.98, -63.78)
CIE-LCHlch(40.48, 87.55, 313.24°)
OKLaboklab(51.39% 0.1198 -0.1817)
OKLCHoklch(51.39% 0.218 303.4)
XYZxyz(21.2462, 11.5456, 56.9749)
Luminance0.1155 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8334CA #7BCA34
analogous
#3834CA #8334CA #CA34C6
triadic
#8334CA #CA8334 #34CA83
tetradic
#8334CA #CA3834 #7BCA34 #34C6CA
square
#8334CA #CA3834 #7BCA34 #34C6CA
split-complementary
#8334CA #C6CA34 #34CA38
monochromatic
#441B69 #632799 #8334CA #A164D7 #BE95E4

Accessibility & contrast

On white

6.35
#8334CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#8334CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8334CA
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8334CA#FFFFFF#000000##FFFFFF
##8334CA1.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)
#005ECE
Deuteranopia (green-blind)
#005FC7
Tritanopia (blue-blind)
#755A7D
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #8334ca;
/* rgb */ color: rgb(131, 52, 202);
/* oklch */ color: oklch(51.4% 0.218 303.4);
Tailwind
colors: {
  custom: {
    50: '#ad73db',
    500: '#8334ca',
    950: '#000000',
  },
}
SCSS
$custom: #8334ca;
$custom-light: #ad73db;
$custom-dark: #000000;
JSON
{
  "hex": "#8334ca",
  "rgb": {
    "r": 131,
    "g": 52,
    "b": 202
  },
  "hsl": {
    "h": 271.6,
    "s": 59.055,
    "l": 49.804
  },
  "oklch": {
    "l": 0.51391,
    "c": 0.21766,
    "h": 303.4
  },
  "luminance": 0.11546
}

Semantic roles & 50–950 ramp

primary
#8334CA
secondary
#ABCF8B
accent
#E24690
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#110915
muted
#807B83

Preview Lab

Preview with #8334CA

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

Preview Lab → · Contrast checker → · Palette generator →

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