#8A68F2#8A68F2

#8A68F2 is a light, vivid violet. Relative luminance 0.217; OKLCH L 62.0% C 0.198 H 290.8°. Best body text is #000000 at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#8A68F2
RGBrgb(138, 104, 242)
HSLhsl(255, 84%, 68%)
HSVhsv(255, 57%, 95%)
CMYKcmyk(43%, 57%, 0%, 5.1%)
CIE-LABlab(53.72, 45.32, -65.04)
CIE-LCHlch(53.72, 79.27, 304.87°)
OKLaboklab(62% 0.0705 -0.1853)
OKLCHoklch(62% 0.198 290.8)
XYZxyz(31.4541, 21.7137, 86.5211)
Luminance0.2172 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A68F2 #D0F268
analogous
#688BF2 #8A68F2 #CF68F2
triadic
#8A68F2 #F28A68 #68F28A
tetradic
#8A68F2 #F2688B #D0F268 #68F2CF
square
#8A68F2 #F2688B #D0F268 #68F2CF
split-complementary
#8A68F2 #F2CF68 #8BF268
monochromatic
#4012CE #5E30ED #8A68F2 #B6A0F7 #E1D9FC

Accessibility & contrast

On white

3.93
#8A68F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.34
#8A68F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A68F2
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A68F2#FFFFFF#000000##000000
##8A68F21.003.935.345.34
#FFFFFF3.931.0021.0021.00
#0000005.3421.001.001.00
##0000005.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0883F7
Deuteranopia (green-blind)
#1A7DEF
Tritanopia (blue-blind)
#6C86A3
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #8a68f2;
/* rgb */ color: rgb(138, 104, 242);
/* oklch */ color: oklch(62.0% 0.198 290.8);
Tailwind
colors: {
  custom: {
    50: '#b294f7',
    500: '#8a68f2',
    950: '#000000',
  },
}
SCSS
$custom: #8a68f2;
$custom-light: #b294f7;
$custom-dark: #000000;
JSON
{
  "hex": "#8a68f2",
  "rgb": {
    "r": 138,
    "g": 104,
    "b": 242
  },
  "hsl": {
    "h": 254.783,
    "s": 84.146,
    "l": 67.843
  },
  "oklch": {
    "l": 0.62001,
    "c": 0.19828,
    "h": 290.8
  },
  "luminance": 0.21715
}

Semantic roles & 50–950 ramp

primary
#8A68F2
secondary
#E6F0C6
accent
#E105AA
background
#FBF9FF
surface
#F6F1FF
border
#D0CBD7
text
#110D17
muted
#807E85

Preview Lab

Preview with #8A68F2

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

Preview Lab → · Contrast checker → · Palette generator →

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