#865CEA#865CEA

#865CEA is a mid, highly saturated violet. Relative luminance 0.187; OKLCH L 59.2% C 0.204 H 292.7°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#865CEA
RGBrgb(134, 92, 234)
HSLhsl(258, 77%, 64%)
HSVhsv(258, 61%, 92%)
CMYKcmyk(42.7%, 60.7%, 0%, 8.2%)
CIE-LABlab(50.29, 48.95, -66.12)
CIE-LCHlch(50.29, 82.27, 306.51°)
OKLaboklab(59.23% 0.0789 -0.1887)
OKLCHoklch(59.23% 0.205 292.7)
XYZxyz(28.5059, 18.6623, 79.9262)
Luminance0.1866 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#865CEA #C0EA5C
analogous
#5C79EA #865CEA #CD5CEA
triadic
#865CEA #EA865C #5CEA86
tetradic
#865CEA #EA5C79 #C0EA5C #5CEACD
square
#865CEA #EA5C79 #C0EA5C #5CEACD
split-complementary
#865CEA #EACD5C #79EA5C
monochromatic
#4617B4 #5E26E3 #865CEA #AE92F1 #D6C8F8

Accessibility & contrast

On white

4.44
#865CEA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#865CEA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #865CEA
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##865CEA#FFFFFF#000000##000000
##865CEA1.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AEF
Deuteranopia (green-blind)
#0075E7
Tritanopia (blue-blind)
#6A7C9A
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #865cea;
/* rgb */ color: rgb(134, 92, 234);
/* oklch */ color: oklch(59.2% 0.204 292.7);
Tailwind
colors: {
  custom: {
    50: '#b08cf2',
    500: '#865cea',
    950: '#000000',
  },
}
SCSS
$custom: #865cea;
$custom-light: #b08cf2;
$custom-dark: #000000;
JSON
{
  "hex": "#865cea",
  "rgb": {
    "r": 134,
    "g": 92,
    "b": 234
  },
  "hsl": {
    "h": 257.746,
    "s": 77.174,
    "l": 63.922
  },
  "oklch": {
    "l": 0.5923,
    "c": 0.2045,
    "h": 292.7
  },
  "luminance": 0.18663
}

Semantic roles & 50–950 ramp

primary
#865CEA
secondary
#DBEAB8
accent
#D90C9D
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C17
muted
#807D85

Preview Lab

Preview with #865CEA

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

Preview Lab → · Contrast checker → · Palette generator →

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