#8A68FB#8A68FB

#8A68FB is a light, highly saturated violet. Relative luminance 0.223; OKLCH L 62.6% C 0.209 H 289.6°. Best body text is #000000 at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#8A68FB
RGBrgb(138, 104, 251)
HSLhsl(254, 95%, 70%)
HSVhsv(254, 59%, 98%)
CMYKcmyk(45%, 58.6%, 0%, 1.6%)
CIE-LABlab(54.31, 47.79, -69.09)
CIE-LCHlch(54.31, 84.01, 304.67°)
OKLaboklab(62.62% 0.0703 -0.1973)
OKLCHoklch(62.62% 0.209 289.6)
XYZxyz(32.8392, 22.2677, 93.8159)
Luminance0.2227 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A68FB #D9FB68
analogous
#688FFB #8A68FB #D468FB
triadic
#8A68FB #FB8A68 #68FB8A
tetradic
#8A68FB #FB688F #D9FB68 #68FBD4
square
#8A68FB #FB688F #D9FB68 #68FBD4
split-complementary
#8A68FB #FBD468 #8FFB68
monochromatic
#3906E3 #5C2CF9 #8A68FB #B8A4FD #E6DFFE

Accessibility & contrast

On white

3.85
#8A68FB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.45
#8A68FB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A68FB
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A68FB#FFFFFF#000000##000000
##8A68FB1.003.855.455.45
#FFFFFF3.851.0021.0021.00
#0000005.4521.001.001.00
##0000005.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0085FF
Deuteranopia (green-blind)
#007EF8
Tritanopia (blue-blind)
#6789A8
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #8a68fb;
/* rgb */ color: rgb(138, 104, 251);
/* oklch */ color: oklch(62.6% 0.209 289.6);
Tailwind
colors: {
  custom: {
    50: '#b394fd',
    500: '#8a68fb',
    950: '#000000',
  },
}
SCSS
$custom: #8a68fb;
$custom-light: #b394fd;
$custom-dark: #000000;
JSON
{
  "hex": "#8a68fb",
  "rgb": {
    "r": 138,
    "g": 104,
    "b": 251
  },
  "hsl": {
    "h": 253.878,
    "s": 94.839,
    "l": 69.608
  },
  "oklch": {
    "l": 0.6262,
    "c": 0.20941,
    "h": 289.6
  },
  "luminance": 0.22269
}

Semantic roles & 50–950 ramp

primary
#8A68FB
secondary
#EBF4CA
accent
#E600B0
background
#FBF9FF
surface
#F6F1FF
border
#D0CBD7
text
#120D18
muted
#817E86

Preview Lab

Preview with #8A68FB

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

Preview Lab → · Contrast checker → · Palette generator →

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