#865CB2#865CB2

#865CB2 is a mid, vivid violet. Relative luminance 0.159; OKLCH L 55.6% C 0.135 H 305.0°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#865CB2
RGBrgb(134, 92, 178)
HSLhsl(269, 36%, 53%)
HSVhsv(269, 48%, 70%)
CMYKcmyk(24.7%, 48.3%, 0%, 30.2%)
CIE-LABlab(46.89, 34.47, -39.48)
CIE-LCHlch(46.89, 52.41, 311.13°)
OKLaboklab(55.64% 0.0773 -0.1105)
OKLCHoklch(55.64% 0.135 305)
XYZxyz(21.6928, 15.9371, 44.0442)
Luminance0.1594 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#865CB2 #88B25C
analogous
#5C5DB2 #865CB2 #B15CB2
triadic
#865CB2 #B2865C #5CB286
tetradic
#865CB2 #B25C5D #88B25C #5CB2B1
square
#865CB2 #B25C5D #88B25C #5CB2B1
split-complementary
#865CB2 #B2B15C #5DB25C
monochromatic
#492F64 #68438E #865CB2 #A586C6 #C4AFD9

Accessibility & contrast

On white

5.02
#865CB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#865CB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #865CB2
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##865CB2#FFFFFF#000000##FFFFFF
##865CB21.005.024.195.02
#FFFFFF5.021.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#446EB5
Deuteranopia (green-blind)
#4F6FB0
Tritanopia (blue-blind)
#7F6B7E
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #865cb2;
/* rgb */ color: rgb(134, 92, 178);
/* oklch */ color: oklch(55.6% 0.135 305.0);
Tailwind
colors: {
  custom: {
    50: '#ab8bc9',
    500: '#865cb2',
    950: '#000000',
  },
}
SCSS
$custom: #865cb2;
$custom-light: #ab8bc9;
$custom-dark: #000000;
JSON
{
  "hex": "#865cb2",
  "rgb": {
    "r": 134,
    "g": 92,
    "b": 178
  },
  "hsl": {
    "h": 269.302,
    "s": 35.833,
    "l": 52.941
  },
  "oklch": {
    "l": 0.55635,
    "c": 0.1349,
    "h": 305
  },
  "luminance": 0.15937
}

Semantic roles & 50–950 ramp

primary
#865CB2
secondary
#B5C7A2
accent
#CC5C95
background
#FAF8FC
surface
#F4F0F8
border
#CECBD1
text
#100C13
muted
#7F7D82

Preview Lab

Preview with #865CB2

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

Preview Lab → · Contrast checker → · Palette generator →

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