#905BE1#905BE1

#905BE1 is a mid, vivid violet. Relative luminance 0.188; OKLCH L 59.4% C 0.196 H 298.5°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#905BE1
RGBrgb(144, 91, 225)
HSLhsl(264, 69%, 62%)
HSVhsv(264, 60%, 88%)
CMYKcmyk(36%, 59.6%, 0%, 11.8%)
CIE-LABlab(50.51, 49.27, -60.65)
CIE-LCHlch(50.51, 78.14, 309.09°)
OKLaboklab(59.44% 0.0934 -0.1723)
OKLCHoklch(59.44% 0.196 298.5)
XYZxyz(28.8299, 18.8474, 73.3386)
Luminance0.1885 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#905BE1 #ACE15B
analogous
#5B69E1 #905BE1 #D35BE1
triadic
#905BE1 #E1905B #5BE190
tetradic
#905BE1 #E15B69 #ACE15B #5BE1D3
square
#905BE1 #E15B69 #ACE15B #5BE1D3
split-complementary
#905BE1 #E1D35B #69E15B
monochromatic
#531EA4 #6D27D7 #905BE1 #B38FEA #D6C2F4

Accessibility & contrast

On white

4.40
#905BE1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#905BE1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #905BE1
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##905BE1#FFFFFF#000000##000000
##905BE11.004.404.774.77
#FFFFFF4.401.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0078E5
Deuteranopia (green-blind)
#2877DE
Tritanopia (blue-blind)
#7E7895
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #905be1;
/* rgb */ color: rgb(144, 91, 225);
/* oklch */ color: oklch(59.4% 0.196 298.5);
Tailwind
colors: {
  custom: {
    50: '#b58ceb',
    500: '#905be1',
    950: '#000000',
  },
}
SCSS
$custom: #905be1;
$custom-light: #b58ceb;
$custom-dark: #000000;
JSON
{
  "hex": "#905be1",
  "rgb": {
    "r": 144,
    "g": 91,
    "b": 225
  },
  "hsl": {
    "h": 263.731,
    "s": 69.072,
    "l": 61.961
  },
  "oklch": {
    "l": 0.59436,
    "c": 0.19596,
    "h": 298.5
  },
  "luminance": 0.18848
}

Semantic roles & 50–950 ramp

primary
#905BE1
secondary
#D1E5B3
accent
#D11486
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #905BE1

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

Preview Lab → · Contrast checker → · Palette generator →

#905BE1 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva