#867BF2#867BF2

#867BF2 is a light, vivid blue. Relative luminance 0.256; OKLCH L 64.9% C 0.172 H 284.7°. Best body text is #000000 at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#867BF2
RGBrgb(134, 123, 242)
HSLhsl(246, 82%, 72%)
HSVhsv(246, 49%, 95%)
CMYKcmyk(44.6%, 49.2%, 0%, 5.1%)
CIE-LABlab(57.70, 33.54, -58.67)
CIE-LCHlch(57.70, 67.58, 299.75°)
OKLaboklab(64.87% 0.0438 -0.1667)
OKLCHoklch(64.87% 0.172 284.7)
XYZxyz(32.9368, 25.6436, 87.2014)
Luminance0.2565 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#867BF2 #E7F27B
analogous
#7BACF2 #867BF2 #C27BF2
triadic
#867BF2 #F2867B #7BF286
tetradic
#867BF2 #F27BAC #E7F27B #7BF2C2
square
#867BF2 #F27BAC #E7F27B #7BF2C2
split-complementary
#867BF2 #F2C27B #ACF27B
monochromatic
#2816DD #5343ED #867BF2 #B9B3F7 #E5E3FC

Accessibility & contrast

On white

3.43
#867BF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.13
#867BF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #867BF2
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##867BF2#FFFFFF#000000##000000
##867BF21.003.436.136.13
#FFFFFF3.431.0021.0021.00
#0000006.1321.001.001.00
##0000006.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#478EF6
Deuteranopia (green-blind)
#4387EF
Tritanopia (blue-blind)
#6394AB
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #867bf2;
/* rgb */ color: rgb(134, 123, 242);
/* oklch */ color: oklch(64.9% 0.172 284.7);
Tailwind
colors: {
  custom: {
    50: '#afa1f7',
    500: '#867bf2',
    950: '#000000',
  },
}
SCSS
$custom: #867bf2;
$custom-light: #afa1f7;
$custom-dark: #000000;
JSON
{
  "hex": "#867bf2",
  "rgb": {
    "r": 134,
    "g": 123,
    "b": 242
  },
  "hsl": {
    "h": 245.546,
    "s": 82.069,
    "l": 71.569
  },
  "oklch": {
    "l": 0.64874,
    "c": 0.17232,
    "h": 284.7
  },
  "luminance": 0.25645
}

Semantic roles & 50–950 ramp

primary
#867BF2
secondary
#F1F4D5
accent
#DE07CB
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110F17
muted
#807E85

Preview Lab

Preview with #867BF2

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

Preview Lab → · Contrast checker → · Palette generator →

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