#867AFE#867AFE

#867AFE is a light, vivid blue. Relative luminance 0.261; OKLCH L 65.5% C 0.190 H 284.0°. Best body text is #000000 at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#867AFE
RGBrgb(134, 122, 254)
HSLhsl(245, 99%, 74%)
HSVhsv(245, 52%, 100%)
CMYKcmyk(47.2%, 52%, 0%, 0.4%)
CIE-LABlab(58.17, 37.57, -64.54)
CIE-LCHlch(58.17, 74.68, 300.20°)
OKLaboklab(65.46% 0.0458 -0.1839)
OKLCHoklch(65.46% 0.19 284)
XYZxyz(34.6751, 26.1415, 96.9654)
Luminance0.2614 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#867AFE #F2FE7A
analogous
#7AB0FE #867AFE #C87AFE
triadic
#867AFE #FE867A #7AFE86
tetradic
#867AFE #FE7AB0 #F2FE7A #7AFEC8
square
#867AFE #FE7AB0 #F2FE7A #7AFEC8
split-complementary
#867AFE #FEC87A #B0FE7A
monochromatic
#1902FC #4F3DFE #867AFE #BDB7FE #E3E1FF

Accessibility & contrast

On white

3.37
#867AFE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.23
#867AFE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #867AFE
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##867AFE#FFFFFF#000000##000000
##867AFE1.003.376.236.23
#FFFFFF3.371.0021.0021.00
#0000006.2321.001.001.00
##0000006.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3790FF
Deuteranopia (green-blind)
#3088FB
Tritanopia (blue-blind)
#5C97B0
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #867afe;
/* rgb */ color: rgb(134, 122, 254);
/* oklch */ color: oklch(65.5% 0.190 284.0);
Tailwind
colors: {
  custom: {
    50: '#b0a0ff',
    500: '#867afe',
    950: '#000000',
  },
}
SCSS
$custom: #867afe;
$custom-light: #b0a0ff;
$custom-dark: #000000;
JSON
{
  "hex": "#867afe",
  "rgb": {
    "r": 134,
    "g": 122,
    "b": 254
  },
  "hsl": {
    "h": 245.455,
    "s": 98.507,
    "l": 73.725
  },
  "oklch": {
    "l": 0.65456,
    "c": 0.18953,
    "h": 284
  },
  "luminance": 0.26143
}

Semantic roles & 50–950 ramp

primary
#867AFE
secondary
#F4F7D4
accent
#E600D1
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110F18
muted
#807E86

Preview Lab

Preview with #867AFE

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

Preview Lab → · Contrast checker → · Palette generator →

#867AFE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva