#8368D2#8368D2

#8368D2 is a mid, vivid violet. Relative luminance 0.194; OKLCH L 59.3% C 0.157 H 292.7°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#8368D2
RGBrgb(131, 104, 210)
HSLhsl(255, 54%, 62%)
HSVhsv(255, 50%, 82%)
CMYKcmyk(37.6%, 50.5%, 0%, 17.6%)
CIE-LABlab(51.13, 34.99, -51.21)
CIE-LCHlch(51.13, 62.02, 304.34°)
OKLaboklab(59.3% 0.0606 -0.1449)
OKLCHoklch(59.3% 0.157 292.7)
XYZxyz(25.9402, 19.3784, 63.3340)
Luminance0.1938 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8368D2 #B7D268
analogous
#6882D2 #8368D2 #B868D2
triadic
#8368D2 #D28368 #68D283
tetradic
#8368D2 #D26882 #B7D268 #68D2B8
square
#8368D2 #D26882 #B7D268 #68D2B8
split-complementary
#8368D2 #D2B868 #82D268
monochromatic
#462C94 #5D3AC3 #8368D2 #AA97E0 #D0C6EE

Accessibility & contrast

On white

4.31
#8368D2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#8368D2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8368D2
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8368D2#FFFFFF#000000##000000
##8368D21.004.314.884.88
#FFFFFF4.311.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E7BD6
Deuteranopia (green-blind)
#4378D0
Tritanopia (blue-blind)
#6F7D93
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #8368d2;
/* rgb */ color: rgb(131, 104, 210);
/* oklch */ color: oklch(59.3% 0.157 292.7);
Tailwind
colors: {
  custom: {
    50: '#ab93e0',
    500: '#8368d2',
    950: '#000000',
  },
}
SCSS
$custom: #8368d2;
$custom-light: #ab93e0;
$custom-dark: #000000;
JSON
{
  "hex": "#8368d2",
  "rgb": {
    "r": 131,
    "g": 104,
    "b": 210
  },
  "hsl": {
    "h": 255.283,
    "s": 54.082,
    "l": 61.569
  },
  "oklch": {
    "l": 0.59299,
    "c": 0.15712,
    "h": 292.7
  },
  "luminance": 0.19379
}

Semantic roles & 50–950 ramp

primary
#8368D2
secondary
#D5DFB7
accent
#C22499
background
#FAF9FD
surface
#F4F1FB
border
#CECBD4
text
#100D15
muted
#7F7E83

Preview Lab

Preview with #8368D2

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

Preview Lab → · Contrast checker → · Palette generator →

#8368D2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva