#865CFC#865CFC

#865CFC is a mid, highly saturated violet. Relative luminance 0.198; OKLCH L 60.5% C 0.226 H 290.0°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#865CFC
RGBrgb(134, 92, 252)
HSLhsl(256, 96%, 67%)
HSVhsv(256, 63%, 99%)
CMYKcmyk(46.8%, 63.5%, 0%, 1.2%)
CIE-LABlab(51.55, 53.83, -74.13)
CIE-LCHlch(51.55, 91.61, 305.98°)
OKLaboklab(60.55% 0.0775 -0.2122)
OKLCHoklch(60.55% 0.226 290)
XYZxyz(31.2244, 19.7497, 94.2435)
Luminance0.1975 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#865CFC #D2FC5C
analogous
#5C82FC #865CFC #D65CFC
triadic
#865CFC #FC865C #5CFC86
tetradic
#865CFC #FC5C82 #D2FC5C #5CFCD6
square
#865CFC #FC5C82 #D2FC5C #5CFCD6
split-complementary
#865CFC #FCD65C #82FC5C
monochromatic
#3C04DA #5920FB #865CFC #B398FD #DFD4FE

Accessibility & contrast

On white

4.24
#865CFC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#865CFC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #865CFC
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##865CFC#FFFFFF#000000##000000
##865CFC1.004.244.954.95
#FFFFFF4.241.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#007EFF
Deuteranopia (green-blind)
#0077F9
Tritanopia (blue-blind)
#6082A4
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #865cfc;
/* rgb */ color: rgb(134, 92, 252);
/* oklch */ color: oklch(60.5% 0.226 290.0);
Tailwind
colors: {
  custom: {
    50: '#b28cfe',
    500: '#865cfc',
    950: '#000000',
  },
}
SCSS
$custom: #865cfc;
$custom-light: #b28cfe;
$custom-dark: #000000;
JSON
{
  "hex": "#865cfc",
  "rgb": {
    "r": 134,
    "g": 92,
    "b": 252
  },
  "hsl": {
    "h": 255.75,
    "s": 96.386,
    "l": 67.451
  },
  "oklch": {
    "l": 0.60546,
    "c": 0.22591,
    "h": 290
  },
  "luminance": 0.19751
}

Semantic roles & 50–950 ramp

primary
#865CFC
secondary
#E6F3C1
accent
#E600A9
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#120C18
muted
#817D86

Preview Lab

Preview with #865CFC

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

Preview Lab → · Contrast checker → · Palette generator →

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