#8334C7#8334C7

#8334C7 is a mid, highly saturated violet. Relative luminance 0.114; OKLCH L 51.2% C 0.215 H 304.1°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#8334C7
RGBrgb(131, 52, 199)
HSLhsl(272, 59%, 49%)
HSVhsv(272, 74%, 78%)
CMYKcmyk(34.2%, 73.9%, 0%, 22%)
CIE-LABlab(40.25, 59.29, -62.41)
CIE-LCHlch(40.25, 86.08, 313.53°)
OKLaboklab(51.16% 0.1204 -0.1777)
OKLCHoklch(51.16% 0.215 304.1)
XYZxyz(20.8945, 11.4049, 55.1223)
Luminance0.1140 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8334C7 #78C734
analogous
#3A34C7 #8334C7 #C734C2
triadic
#8334C7 #C78334 #34C783
tetradic
#8334C7 #C73A34 #78C734 #34C2C7
square
#8334C7 #C73A34 #78C734 #34C2C7
split-complementary
#8334C7 #C2C734 #34C73A
monochromatic
#431B66 #632796 #8334C7 #A062D6 #BE93E3

Accessibility & contrast

On white

6.40
#8334C7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#8334C7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8334C7
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8334C7#FFFFFF#000000##FFFFFF
##8334C71.006.403.286.40
#FFFFFF6.401.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DCB
Deuteranopia (green-blind)
#005FC4
Tritanopia (blue-blind)
#76587B
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #8334c7;
/* rgb */ color: rgb(131, 52, 199);
/* oklch */ color: oklch(51.2% 0.215 304.1);
Tailwind
colors: {
  custom: {
    50: '#ad73d9',
    500: '#8334c7',
    950: '#000000',
  },
}
SCSS
$custom: #8334c7;
$custom-light: #ad73d9;
$custom-dark: #000000;
JSON
{
  "hex": "#8334c7",
  "rgb": {
    "r": 131,
    "g": 52,
    "b": 199
  },
  "hsl": {
    "h": 272.245,
    "s": 58.566,
    "l": 49.216
  },
  "oklch": {
    "l": 0.51156,
    "c": 0.21466,
    "h": 304.1
  },
  "luminance": 0.11405
}

Semantic roles & 50–950 ramp

primary
#8334C7
secondary
#A9CE89
accent
#E2468E
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#110915
muted
#807B83

Preview Lab

Preview with #8334C7

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

Preview Lab → · Contrast checker → · Palette generator →

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