#8A68F5#8A68F5

#8A68F5 is a light, highly saturated violet. Relative luminance 0.219; OKLCH L 62.2% C 0.202 H 290.4°. Best body text is #000000 at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#8A68F5
RGBrgb(138, 104, 245)
HSLhsl(254, 88%, 68%)
HSVhsv(254, 58%, 96%)
CMYKcmyk(43.7%, 57.6%, 0%, 3.9%)
CIE-LABlab(53.92, 46.14, -66.39)
CIE-LCHlch(53.92, 80.85, 304.80°)
OKLaboklab(62.21% 0.0704 -0.1893)
OKLCHoklch(62.21% 0.202 290.4)
XYZxyz(31.9084, 21.8954, 88.9135)
Luminance0.2190 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A68F5 #D3F568
analogous
#688CF5 #8A68F5 #D068F5
triadic
#8A68F5 #F58A68 #68F58A
tetradic
#8A68F5 #F5688C #D3F568 #68F5D0
square
#8A68F5 #F5688C #D3F568 #68F5D0
split-complementary
#8A68F5 #F5D068 #8CF568
monochromatic
#3E0ED5 #5E2FF1 #8A68F5 #B6A1F9 #E3DBFD

Accessibility & contrast

On white

3.90
#8A68F5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.38
#8A68F5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A68F5
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A68F5#FFFFFF#000000##000000
##8A68F51.003.905.385.38
#FFFFFF3.901.0021.0021.00
#0000005.3821.001.001.00
##0000005.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0083FA
Deuteranopia (green-blind)
#0E7EF2
Tritanopia (blue-blind)
#6A87A5
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #8a68f5;
/* rgb */ color: rgb(138, 104, 245);
/* oklch */ color: oklch(62.2% 0.202 290.4);
Tailwind
colors: {
  custom: {
    50: '#b394f9',
    500: '#8a68f5',
    950: '#000000',
  },
}
SCSS
$custom: #8a68f5;
$custom-light: #b394f9;
$custom-dark: #000000;
JSON
{
  "hex": "#8a68f5",
  "rgb": {
    "r": 138,
    "g": 104,
    "b": 245
  },
  "hsl": {
    "h": 254.468,
    "s": 87.578,
    "l": 68.431
  },
  "oklch": {
    "l": 0.62205,
    "c": 0.20201,
    "h": 290.4
  },
  "luminance": 0.21896
}

Semantic roles & 50–950 ramp

primary
#8A68F5
secondary
#E7F2C7
accent
#E401AD
background
#FBF9FF
surface
#F6F1FF
border
#D0CBD7
text
#120D17
muted
#817E85

Preview Lab

Preview with #8A68F5

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

Preview Lab → · Contrast checker → · Palette generator →

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