#865CEC#865CEC

#865CEC is a mid, highly saturated violet. Relative luminance 0.188; OKLCH L 59.4% C 0.207 H 292.4°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#865CEC
RGBrgb(134, 92, 236)
HSLhsl(258, 79%, 64%)
HSVhsv(258, 61%, 93%)
CMYKcmyk(43.2%, 61%, 0%, 7.5%)
CIE-LABlab(50.43, 49.49, -67.02)
CIE-LCHlch(50.43, 83.32, 306.44°)
OKLaboklab(59.37% 0.0788 -0.1913)
OKLCHoklch(59.37% 0.207 292.4)
XYZxyz(28.7948, 18.7779, 81.4480)
Luminance0.1878 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#865CEC #C2EC5C
analogous
#5C7AEC #865CEC #CE5CEC
triadic
#865CEC #EC865C #5CEC86
tetradic
#865CEC #EC5C7A #C2EC5C #5CECCE
square
#865CEC #EC5C7A #C2EC5C #5CECCE
split-complementary
#865CEC #ECCE5C #7AEC5C
monochromatic
#4515B8 #5D25E6 #865CEC #AF93F2 #D7CAF9

Accessibility & contrast

On white

4.42
#865CEC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#865CEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #865CEC
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##865CEC#FFFFFF#000000##000000
##865CEC1.004.424.764.76
#FFFFFF4.421.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #865cec;
/* rgb */ color: rgb(134, 92, 236);
/* oklch */ color: oklch(59.4% 0.207 292.4);
Tailwind
colors: {
  custom: {
    50: '#b08cf3',
    500: '#865cec',
    950: '#000000',
  },
}
SCSS
$custom: #865cec;
$custom-light: #b08cf3;
$custom-dark: #000000;
JSON
{
  "hex": "#865cec",
  "rgb": {
    "r": 134,
    "g": 92,
    "b": 236
  },
  "hsl": {
    "h": 257.5,
    "s": 79.121,
    "l": 64.314
  },
  "oklch": {
    "l": 0.59373,
    "c": 0.20691,
    "h": 292.4
  },
  "luminance": 0.18779
}

Semantic roles & 50–950 ramp

primary
#865CEC
secondary
#DCEBB9
accent
#DB0A9E
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C17
muted
#807D85

Preview Lab

Preview with #865CEC

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

Preview Lab → · Contrast checker → · Palette generator →

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