#8B68EE#8B68EE

#8B68EE is a mid, vivid violet. Relative luminance 0.216; OKLCH L 61.8% C 0.193 H 291.8°. Best body text is #000000 at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#8B68EE
RGBrgb(139, 104, 238)
HSLhsl(256, 80%, 67%)
HSVhsv(256, 56%, 93%)
CMYKcmyk(41.6%, 56.3%, 0%, 6.7%)
CIE-LABlab(53.56, 44.45, -63.06)
CIE-LCHlch(53.56, 77.15, 305.18°)
OKLaboklab(61.82% 0.0718 -0.1795)
OKLCHoklch(61.82% 0.193 291.8)
XYZxyz(31.0262, 21.5617, 83.3995)
Luminance0.2156 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B68EE #CBEE68
analogous
#6888EE #8B68EE #CE68EE
triadic
#8B68EE #EE8B68 #68EE8B
tetradic
#8B68EE #EE6888 #CBEE68 #68EECE
square
#8B68EE #EE6888 #CBEE68 #68EECE
split-complementary
#8B68EE #EECE68 #88EE68
monochromatic
#4416C5 #6131E8 #8B68EE #B59FF4 #E0D6FA

Accessibility & contrast

On white

3.95
#8B68EE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.31
#8B68EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B68EE
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B68EE#FFFFFF#000000##000000
##8B68EE1.003.955.315.31
#FFFFFF3.951.0021.0021.00
#0000005.3121.001.001.00
##0000005.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#1982F2
Deuteranopia (green-blind)
#267DEB
Tritanopia (blue-blind)
#7085A1
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #8b68ee;
/* rgb */ color: rgb(139, 104, 238);
/* oklch */ color: oklch(61.8% 0.193 291.8);
Tailwind
colors: {
  custom: {
    50: '#b394f4',
    500: '#8b68ee',
    950: '#000000',
  },
}
SCSS
$custom: #8b68ee;
$custom-light: #b394f4;
$custom-dark: #000000;
JSON
{
  "hex": "#8b68ee",
  "rgb": {
    "r": 139,
    "g": 104,
    "b": 238
  },
  "hsl": {
    "h": 255.672,
    "s": 79.762,
    "l": 67.059
  },
  "oklch": {
    "l": 0.61822,
    "c": 0.19332,
    "h": 291.8
  },
  "luminance": 0.21563
}

Semantic roles & 50–950 ramp

primary
#8B68EE
secondary
#E3EEC4
accent
#DC09A5
background
#FBF9FF
surface
#F6F1FE
border
#D0CBD6
text
#110D17
muted
#807E85

Preview Lab

Preview with #8B68EE

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

Preview Lab → · Contrast checker → · Palette generator →

#8B68EE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva