#8B68CA#8B68CA

#8B68CA is a mid, vivid violet. Relative luminance 0.197; OKLCH L 59.6% C 0.147 H 298.3°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#8B68CA
RGBrgb(139, 104, 202)
HSLhsl(261, 48%, 60%)
HSVhsv(261, 49%, 79%)
CMYKcmyk(31.2%, 48.5%, 0%, 20.8%)
CIE-LABlab(51.44, 34.93, -46.10)
CIE-LCHlch(51.44, 57.84, 307.15°)
OKLaboklab(59.57% 0.0699 -0.1298)
OKLCHoklch(59.57% 0.147 298.3)
XYZxyz(26.2559, 19.6536, 58.2759)
Luminance0.1965 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B68CA #A7CA68
analogous
#6876CA #8B68CA #BC68CA
triadic
#8B68CA #CA8B68 #68CA8B
tetradic
#8B68CA #CA6876 #A7CA68 #68CABC
square
#8B68CA #CA6876 #A7CA68 #68CABC
split-complementary
#8B68CA #CABC68 #76CA68
monochromatic
#4F3088 #6A40B5 #8B68CA #AE95DA #D1C3EA

Accessibility & contrast

On white

4.26
#8B68CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#8B68CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B68CA
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B68CA#FFFFFF#000000##000000
##8B68CA1.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#487BCD
Deuteranopia (green-blind)
#507AC8
Tritanopia (blue-blind)
#7E7A8F
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #8b68ca;
/* rgb */ color: rgb(139, 104, 202);
/* oklch */ color: oklch(59.6% 0.147 298.3);
Tailwind
colors: {
  custom: {
    50: '#b094da',
    500: '#8b68ca',
    950: '#000000',
  },
}
SCSS
$custom: #8b68ca;
$custom-light: #b094da;
$custom-dark: #000000;
JSON
{
  "hex": "#8b68ca",
  "rgb": {
    "r": 139,
    "g": 104,
    "b": 202
  },
  "hsl": {
    "h": 261.429,
    "s": 48.039,
    "l": 60
  },
  "oklch": {
    "l": 0.59571,
    "c": 0.14737,
    "h": 298.3
  },
  "luminance": 0.19654
}

Semantic roles & 50–950 ramp

primary
#8B68CA
secondary
#CCDAB4
accent
#D850A7
background
#FBF9FD
surface
#F6F1FB
border
#D0CBD4
text
#110D15
muted
#807E83

Preview Lab

Preview with #8B68CA

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

Preview Lab → · Contrast checker → · Palette generator →

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