#895BF2#895BF2

#895BF2 is a mid, highly saturated violet. Relative luminance 0.192; OKLCH L 59.9% C 0.215 H 292.7°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#895BF2
RGBrgb(137, 91, 242)
HSLhsl(258, 85%, 65%)
HSVhsv(258, 62%, 95%)
CMYKcmyk(43.4%, 62.4%, 0%, 5.1%)
CIE-LABlab(50.93, 52.23, -69.55)
CIE-LCHlch(50.93, 86.98, 306.91°)
OKLaboklab(59.94% 0.0833 -0.1987)
OKLCHoklch(59.94% 0.215 292.7)
XYZxyz(30.0802, 19.2104, 86.1103)
Luminance0.1921 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#895BF2 #C4F25B
analogous
#5B78F2 #895BF2 #D45BF2
triadic
#895BF2 #F2895B #5BF289
tetradic
#895BF2 #F25B78 #C4F25B #5BF2D4
square
#895BF2 #F25B78 #C4F25B #5BF2D4
split-complementary
#895BF2 #F2D45B #78F25B
monochromatic
#460FC3 #6022EE #895BF2 #B294F6 #DBCCFB

Accessibility & contrast

On white

4.34
#895BF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#895BF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #895BF2
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##895BF2#FFFFFF#000000##000000
##895BF21.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BF7
Deuteranopia (green-blind)
#0076EF
Tritanopia (blue-blind)
#6B7E9E
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #895bf2;
/* rgb */ color: rgb(137, 91, 242);
/* oklch */ color: oklch(59.9% 0.215 292.7);
Tailwind
colors: {
  custom: {
    50: '#b28cf7',
    500: '#895bf2',
    950: '#000000',
  },
}
SCSS
$custom: #895bf2;
$custom-light: #b28cf7;
$custom-dark: #000000;
JSON
{
  "hex": "#895bf2",
  "rgb": {
    "r": 137,
    "g": 91,
    "b": 242
  },
  "hsl": {
    "h": 258.278,
    "s": 85.311,
    "l": 65.294
  },
  "oklch": {
    "l": 0.59941,
    "c": 0.21543,
    "h": 292.7
  },
  "luminance": 0.19211
}

Semantic roles & 50–950 ramp

primary
#895BF2
secondary
#DEEEBB
accent
#E2049E
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#120C17
muted
#817D85

Preview Lab

Preview with #895BF2

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

Preview Lab → · Contrast checker → · Palette generator →

#895BF2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva