#865CEB#865CEB

#865CEB is a mid, highly saturated violet. Relative luminance 0.187; OKLCH L 59.3% C 0.206 H 292.5°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#865CEB
RGBrgb(134, 92, 235)
HSLhsl(258, 78%, 64%)
HSVhsv(258, 61%, 92%)
CMYKcmyk(43%, 60.9%, 0%, 7.8%)
CIE-LABlab(50.36, 49.22, -66.57)
CIE-LCHlch(50.36, 82.79, 306.48°)
OKLaboklab(59.3% 0.0788 -0.19)
OKLCHoklch(59.3% 0.206 292.5)
XYZxyz(28.6500, 18.7199, 80.6849)
Luminance0.1872 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#865CEB #C1EB5C
analogous
#5C7AEB #865CEB #CD5CEB
triadic
#865CEB #EB865C #5CEB86
tetradic
#865CEB #EB5C7A #C1EB5C #5CEBCD
square
#865CEB #EB5C7A #C1EB5C #5CEBCD
split-complementary
#865CEB #EBCD5C #7AEB5C
monochromatic
#4516B6 #5E25E4 #865CEB #AE93F2 #D7C9F8

Accessibility & contrast

On white

4.43
#865CEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#865CEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #865CEB
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##865CEB#FFFFFF#000000##000000
##865CEB1.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AF0
Deuteranopia (green-blind)
#0075E8
Tritanopia (blue-blind)
#697D9B
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #865ceb;
/* rgb */ color: rgb(134, 92, 235);
/* oklch */ color: oklch(59.3% 0.206 292.5);
Tailwind
colors: {
  custom: {
    50: '#b08cf2',
    500: '#865ceb',
    950: '#000000',
  },
}
SCSS
$custom: #865ceb;
$custom-light: #b08cf2;
$custom-dark: #000000;
JSON
{
  "hex": "#865ceb",
  "rgb": {
    "r": 134,
    "g": 92,
    "b": 235
  },
  "hsl": {
    "h": 257.622,
    "s": 78.142,
    "l": 64.118
  },
  "oklch": {
    "l": 0.59301,
    "c": 0.2057,
    "h": 292.5
  },
  "luminance": 0.18721
}

Semantic roles & 50–950 ramp

primary
#865CEB
secondary
#DCEAB8
accent
#DA0B9E
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C17
muted
#807D85

Preview Lab

Preview with #865CEB

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

Preview Lab → · Contrast checker → · Palette generator →

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