#865CF1#865CF1

#865CF1 is a mid, highly saturated violet. Relative luminance 0.191; OKLCH L 59.7% C 0.213 H 291.6°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#865CF1
RGBrgb(134, 92, 241)
HSLhsl(257, 84%, 65%)
HSVhsv(257, 62%, 95%)
CMYKcmyk(44.4%, 61.8%, 0%, 5.5%)
CIE-LABlab(50.77, 50.84, -69.27)
CIE-LCHlch(50.77, 85.92, 306.28°)
OKLaboklab(59.73% 0.0784 -0.1979)
OKLCHoklch(59.73% 0.213 291.6)
XYZxyz(29.5314, 19.0725, 85.3274)
Luminance0.1907 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#865CF1 #C7F15C
analogous
#5C7CF1 #865CF1 #D15CF1
triadic
#865CF1 #F1865C #5CF186
tetradic
#865CF1 #F15C7C #C7F15C #5CF1D1
square
#865CF1 #F15C7C #C7F15C #5CF1D1
split-complementary
#865CF1 #F1D15C #7CF15C
monochromatic
#4311C2 #5C24EC #865CF1 #B094F6 #DACDFB

Accessibility & contrast

On white

4.36
#865CF1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#865CF1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #865CF1
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##865CF1#FFFFFF#000000##000000
##865CF11.004.364.814.81
#FFFFFF4.361.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BF6
Deuteranopia (green-blind)
#0076EE
Tritanopia (blue-blind)
#667F9E
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #865cf1;
/* rgb */ color: rgb(134, 92, 241);
/* oklch */ color: oklch(59.7% 0.213 291.6);
Tailwind
colors: {
  custom: {
    50: '#b08cf7',
    500: '#865cf1',
    950: '#000000',
  },
}
SCSS
$custom: #865cf1;
$custom-light: #b08cf7;
$custom-dark: #000000;
JSON
{
  "hex": "#865cf1",
  "rgb": {
    "r": 134,
    "g": 92,
    "b": 241
  },
  "hsl": {
    "h": 256.913,
    "s": 84.181,
    "l": 65.294
  },
  "oklch": {
    "l": 0.59734,
    "c": 0.21289,
    "h": 291.6
  },
  "luminance": 0.19073
}

Semantic roles & 50–950 ramp

primary
#865CF1
secondary
#DFEEBB
accent
#E105A3
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85

Preview Lab

Preview with #865CF1

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

Preview Lab → · Contrast checker → · Palette generator →

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