#895BFB#895BFB

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

Color values

HEX#895BFB
RGBrgb(137, 91, 251)
HSLhsl(257, 95%, 67%)
HSVhsv(257, 64%, 98%)
CMYKcmyk(45.4%, 63.7%, 0%, 1.6%)
CIE-LABlab(51.57, 54.64, -73.54)
CIE-LCHlch(51.57, 91.61, 306.61°)
OKLaboklab(60.6% 0.0825 -0.2104)
OKLCHoklch(60.6% 0.226 291.4)
XYZxyz(31.4653, 19.7645, 93.4051)
Luminance0.1977 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#895BFB #CDFB5B
analogous
#5B7DFB #895BFB #D95BFB
triadic
#895BFB #FB895B #5BFB89
tetradic
#895BFB #FB5B7D #CDFB5B #5BFBD9
square
#895BFB #FB5B7D #CDFB5B #5BFBD9
split-complementary
#895BFB #FBD95B #7DFB5B
monochromatic
#4105D6 #5E1FFA #895BFB #B497FC #DFD2FE

Accessibility & contrast

On white

4.24
#895BFB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#895BFB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #895BFB
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##895BFB#FFFFFF#000000##000000
##895BFB1.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)
#007DFF
Deuteranopia (green-blind)
#0078F8
Tritanopia (blue-blind)
#6681A3
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #895bfb;
/* rgb */ color: rgb(137, 91, 251);
/* oklch */ color: oklch(60.6% 0.226 291.4);
Tailwind
colors: {
  custom: {
    50: '#b38cfe',
    500: '#895bfb',
    950: '#000000',
  },
}
SCSS
$custom: #895bfb;
$custom-light: #b38cfe;
$custom-dark: #000000;
JSON
{
  "hex": "#895bfb",
  "rgb": {
    "r": 137,
    "g": 91,
    "b": 251
  },
  "hsl": {
    "h": 257.25,
    "s": 95.238,
    "l": 67.059
  },
  "oklch": {
    "l": 0.60603,
    "c": 0.22597,
    "h": 291.4
  },
  "luminance": 0.19766
}

Semantic roles & 50–950 ramp

primary
#895BFB
secondary
#E4F2C0
accent
#E600A4
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#120C18
muted
#817D86

Preview Lab

Preview with #895BFB

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

Preview Lab → · Contrast checker → · Palette generator →

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