#867CF2#867CF2

#867CF2 is a light, vivid blue. Relative luminance 0.259; OKLCH L 65.1% C 0.171 H 284.4°. Best body text is #000000 at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#867CF2
RGBrgb(134, 124, 242)
HSLhsl(245, 82%, 72%)
HSVhsv(245, 49%, 95%)
CMYKcmyk(44.6%, 48.8%, 0%, 5.1%)
CIE-LABlab(57.94, 32.95, -58.29)
CIE-LCHlch(57.94, 66.96, 299.48°)
OKLaboklab(65.05% 0.0426 -0.1655)
OKLCHoklch(65.05% 0.171 284.4)
XYZxyz(33.0615, 25.8930, 87.2430)
Luminance0.2589 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#867CF2 #E8F27C
analogous
#7CADF2 #867CF2 #C17CF2
triadic
#867CF2 #F2867C #7CF286
tetradic
#867CF2 #F27CAD #E8F27C #7CF2C1
square
#867CF2 #F27CAD #E8F27C #7CF2C1
split-complementary
#867CF2 #F2C17C #ADF27C
monochromatic
#2716DE #5344EC #867CF2 #B9B4F8 #E5E3FC

Accessibility & contrast

On white

3.40
#867CF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.18
#867CF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #867CF2
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##867CF2#FFFFFF#000000##000000
##867CF21.003.406.186.18
#FFFFFF3.401.0021.0021.00
#0000006.1821.001.001.00
##0000006.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#498FF6
Deuteranopia (green-blind)
#4488EF
Tritanopia (blue-blind)
#6395AC
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #867cf2;
/* rgb */ color: rgb(134, 124, 242);
/* oklch */ color: oklch(65.1% 0.171 284.4);
Tailwind
colors: {
  custom: {
    50: '#afa2f7',
    500: '#867cf2',
    950: '#000000',
  },
}
SCSS
$custom: #867cf2;
$custom-light: #afa2f7;
$custom-dark: #000000;
JSON
{
  "hex": "#867cf2",
  "rgb": {
    "r": 134,
    "g": 124,
    "b": 242
  },
  "hsl": {
    "h": 245.085,
    "s": 81.944,
    "l": 71.765
  },
  "oklch": {
    "l": 0.65053,
    "c": 0.17094,
    "h": 284.4
  },
  "luminance": 0.25894
}

Semantic roles & 50–950 ramp

primary
#867CF2
secondary
#F1F4D6
accent
#DE07CC
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110F17
muted
#807E85

Preview Lab

Preview with #867CF2

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

Preview Lab → · Contrast checker → · Palette generator →

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