#865AFB#865AFB

#865AFB is a mid, highly saturated violet. Relative luminance 0.193; OKLCH L 60.2% C 0.227 H 290.5°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#865AFB
RGBrgb(134, 90, 251)
HSLhsl(256, 95%, 67%)
HSVhsv(256, 64%, 98%)
CMYKcmyk(46.6%, 64.1%, 0%, 1.6%)
CIE-LABlab(51.09, 54.61, -74.33)
CIE-LCHlch(51.09, 92.24, 306.31°)
OKLaboklab(60.19% 0.0795 -0.2128)
OKLCHoklch(60.19% 0.227 290.5)
XYZxyz(30.8953, 19.3445, 93.3541)
Luminance0.1935 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#865AFB #CFFB5A
analogous
#5A7EFB #865AFB #D75AFB
triadic
#865AFB #FB865A #5AFB86
tetradic
#865AFB #FB5A7E #CFFB5A #5AFBD7
square
#865AFB #FB5A7E #CFFB5A #5AFBD7
split-complementary
#865AFB #FBD75A #7EFB5A
monochromatic
#3E05D5 #5A1EFA #865AFB #B296FC #DED2FE

Accessibility & contrast

On white

4.31
#865AFB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#865AFB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #865AFB
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##865AFB#FFFFFF#000000##000000
##865AFB1.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DFF
Deuteranopia (green-blind)
#0076F8
Tritanopia (blue-blind)
#6181A3
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #865afb;
/* rgb */ color: rgb(134, 90, 251);
/* oklch */ color: oklch(60.2% 0.227 290.5);
Tailwind
colors: {
  custom: {
    50: '#b28bfe',
    500: '#865afb',
    950: '#000000',
  },
}
SCSS
$custom: #865afb;
$custom-light: #b28bfe;
$custom-dark: #000000;
JSON
{
  "hex": "#865afb",
  "rgb": {
    "r": 134,
    "g": 90,
    "b": 251
  },
  "hsl": {
    "h": 256.398,
    "s": 95.266,
    "l": 66.863
  },
  "oklch": {
    "l": 0.60187,
    "c": 0.22718,
    "h": 290.5
  },
  "luminance": 0.19346
}

Semantic roles & 50–950 ramp

primary
#865AFB
secondary
#E4F2BF
accent
#E600A7
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#120C18
muted
#817D86

Preview Lab

Preview with #865AFB

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

Preview Lab → · Contrast checker → · Palette generator →

#865AFB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva