#8368DD#8368DD

#8368DD is a mid, vivid violet. Relative luminance 0.199; OKLCH L 60.0% C 0.172 H 290.9°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#8368DD
RGBrgb(131, 104, 221)
HSLhsl(254, 63%, 64%)
HSVhsv(254, 53%, 87%)
CMYKcmyk(40.7%, 52.9%, 0%, 13.3%)
CIE-LABlab(51.78, 37.99, -56.42)
CIE-LCHlch(51.78, 68.02, 303.96°)
OKLaboklab(59.99% 0.0613 -0.1602)
OKLCHoklch(59.99% 0.172 290.9)
XYZxyz(27.3580, 19.9456, 70.8010)
Luminance0.1995 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8368DD #C2DD68
analogous
#6887DD #8368DD #BD68DD
triadic
#8368DD #DD8368 #68DD83
tetradic
#8368DD #DD6887 #C2DD68 #68DDBD
square
#8368DD #DD6887 #C2DD68 #68DDBD
split-complementary
#8368DD #DDBD68 #87DD68
monochromatic
#4325A5 #5A36D2 #8368DD #AC9AE8 #D5CCF3

Accessibility & contrast

On white

4.21
#8368DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#8368DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8368DD
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8368DD#FFFFFF#000000##000000
##8368DD1.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#327DE1
Deuteranopia (green-blind)
#3779DA
Tritanopia (blue-blind)
#6A8199
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #8368dd;
/* rgb */ color: rgb(131, 104, 221);
/* oklch */ color: oklch(60.0% 0.172 290.9);
Tailwind
colors: {
  custom: {
    50: '#ac94e8',
    500: '#8368dd',
    950: '#000000',
  },
}
SCSS
$custom: #8368dd;
$custom-light: #ac94e8;
$custom-dark: #000000;
JSON
{
  "hex": "#8368dd",
  "rgb": {
    "r": 131,
    "g": 104,
    "b": 221
  },
  "hsl": {
    "h": 253.846,
    "s": 63.243,
    "l": 63.725
  },
  "oklch": {
    "l": 0.59991,
    "c": 0.17155,
    "h": 290.9
  },
  "luminance": 0.19946
}

Semantic roles & 50–950 ramp

primary
#8368DD
secondary
#DCE5BC
accent
#CB1AA2
background
#FAF9FE
surface
#F5F1FD
border
#CFCBD5
text
#110D16
muted
#807E84

Preview Lab

Preview with #8368DD

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

Preview Lab → · Contrast checker → · Palette generator →

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