#865FFD#865FFD

#865FFD is a mid, highly saturated violet. Relative luminance 0.203; OKLCH L 61.1% C 0.223 H 289.5°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#865FFD
RGBrgb(134, 95, 253)
HSLhsl(255, 98%, 68%)
HSVhsv(255, 62%, 99%)
CMYKcmyk(47%, 62.5%, 0%, 0.8%)
CIE-LABlab(52.22, 52.49, -73.60)
CIE-LCHlch(52.22, 90.40, 305.50°)
OKLaboklab(61.05% 0.0744 -0.2106)
OKLCHoklch(61.05% 0.223 289.5)
XYZxyz(31.6483, 20.3433, 95.1686)
Luminance0.2034 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#865FFD #D6FD5F
analogous
#5F87FD #865FFD #D55FFD
triadic
#865FFD #FD865F #5FFD86
tetradic
#865FFD #FD5F87 #D6FD5F #5FFDD5
square
#865FFD #FD5F87 #D6FD5F #5FFDD5
split-complementary
#865FFD #FDD55F #87FD5F
monochromatic
#3903DF #5823FC #865FFD #B49BFE #E1D8FF

Accessibility & contrast

On white

4.14
#865FFD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#865FFD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #865FFD
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##865FFD#FFFFFF#000000##000000
##865FFD1.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0080FF
Deuteranopia (green-blind)
#0079FA
Tritanopia (blue-blind)
#5F85A5
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #865ffd;
/* rgb */ color: rgb(134, 95, 253);
/* oklch */ color: oklch(61.1% 0.223 289.5);
Tailwind
colors: {
  custom: {
    50: '#b28eff',
    500: '#865ffd',
    950: '#000000',
  },
}
SCSS
$custom: #865ffd;
$custom-light: #b28eff;
$custom-dark: #000000;
JSON
{
  "hex": "#865ffd",
  "rgb": {
    "r": 134,
    "g": 95,
    "b": 253
  },
  "hsl": {
    "h": 254.81,
    "s": 97.531,
    "l": 68.235
  },
  "oklch": {
    "l": 0.61054,
    "c": 0.2234,
    "h": 289.5
  },
  "luminance": 0.20345
}

Semantic roles & 50–950 ramp

primary
#865FFD
secondary
#E8F4C4
accent
#E600AD
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#120C18
muted
#817D86

Preview Lab

Preview with #865FFD

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

Preview Lab → · Contrast checker → · Palette generator →

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