#865CF2#865CF2

#865CF2 is a mid, highly saturated violet. Relative luminance 0.191; OKLCH L 59.8% C 0.214 H 291.5°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#865CF2
RGBrgb(134, 92, 242)
HSLhsl(257, 85%, 65%)
HSVhsv(257, 62%, 95%)
CMYKcmyk(44.6%, 62%, 0%, 5.1%)
CIE-LABlab(50.84, 51.11, -69.71)
CIE-LCHlch(50.84, 86.44, 306.25°)
OKLaboklab(59.81% 0.0783 -0.1992)
OKLCHoklch(59.81% 0.214 291.5)
XYZxyz(29.6812, 19.1324, 86.1162)
Luminance0.1913 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#865CF2 #C8F25C
analogous
#5C7DF2 #865CF2 #D15CF2
triadic
#865CF2 #F2865C #5CF286
tetradic
#865CF2 #F25C7D #C8F25C #5CF2D1
square
#865CF2 #F25C7D #C8F25C #5CF2D1
split-complementary
#865CF2 #F2D15C #7DF25C
monochromatic
#4210C4 #5C23ED #865CF2 #B095F7 #DACDFB

Accessibility & contrast

On white

4.35
#865CF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#865CF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #865CF2
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##865CF2#FFFFFF#000000##000000
##865CF21.004.354.834.83
#FFFFFF4.351.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BF7
Deuteranopia (green-blind)
#0076EF
Tritanopia (blue-blind)
#667F9F
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #865cf2;
/* rgb */ color: rgb(134, 92, 242);
/* oklch */ color: oklch(59.8% 0.214 291.5);
Tailwind
colors: {
  custom: {
    50: '#b08cf7',
    500: '#865cf2',
    950: '#000000',
  },
}
SCSS
$custom: #865cf2;
$custom-light: #b08cf7;
$custom-dark: #000000;
JSON
{
  "hex": "#865cf2",
  "rgb": {
    "r": 134,
    "g": 92,
    "b": 242
  },
  "hsl": {
    "h": 256.8,
    "s": 85.227,
    "l": 65.49
  },
  "oklch": {
    "l": 0.59806,
    "c": 0.21408,
    "h": 291.5
  },
  "luminance": 0.19133
}

Semantic roles & 50–950 ramp

primary
#865CF2
secondary
#E0EEBC
accent
#E204A4
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85

Preview Lab

Preview with #865CF2

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

Preview Lab → · Contrast checker → · Palette generator →

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