#895DF2#895DF2

#895DF2 is a mid, highly saturated violet. Relative luminance 0.196; OKLCH L 60.2% C 0.213 H 292.4°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#895DF2
RGBrgb(137, 93, 242)
HSLhsl(258, 85%, 66%)
HSVhsv(258, 62%, 95%)
CMYKcmyk(43.4%, 61.6%, 0%, 5.1%)
CIE-LABlab(51.33, 51.16, -68.90)
CIE-LCHlch(51.33, 85.82, 306.59°)
OKLaboklab(60.23% 0.0812 -0.1968)
OKLCHoklch(60.23% 0.213 292.4)
XYZxyz(30.2535, 19.5570, 86.1680)
Luminance0.1956 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#895DF2 #C6F25D
analogous
#5D7BF2 #895DF2 #D35DF2
triadic
#895DF2 #F2895D #5DF289
tetradic
#895DF2 #F25D7B #C6F25D #5DF2D3
square
#895DF2 #F25D7B #C6F25D #5DF2D3
split-complementary
#895DF2 #F2D35D #7BF25D
monochromatic
#4510C5 #6024ED #895DF2 #B296F7 #DCCEFB

Accessibility & contrast

On white

4.28
#895DF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#895DF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #895DF2
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##895DF2#FFFFFF#000000##000000
##895DF21.004.284.914.91
#FFFFFF4.281.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CF7
Deuteranopia (green-blind)
#0077EF
Tritanopia (blue-blind)
#6B7F9F
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #895df2;
/* rgb */ color: rgb(137, 93, 242);
/* oklch */ color: oklch(60.2% 0.213 292.4);
Tailwind
colors: {
  custom: {
    50: '#b28df7',
    500: '#895df2',
    950: '#000000',
  },
}
SCSS
$custom: #895df2;
$custom-light: #b28df7;
$custom-dark: #000000;
JSON
{
  "hex": "#895df2",
  "rgb": {
    "r": 137,
    "g": 93,
    "b": 242
  },
  "hsl": {
    "h": 257.718,
    "s": 85.143,
    "l": 65.686
  },
  "oklch": {
    "l": 0.60231,
    "c": 0.21286,
    "h": 292.4
  },
  "luminance": 0.19558
}

Semantic roles & 50–950 ramp

primary
#895DF2
secondary
#E0EEBD
accent
#E204A0
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#120C17
muted
#817D85

Preview Lab

Preview with #895DF2

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

Preview Lab → · Contrast checker → · Palette generator →

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