#905BE2#905BE2

#905BE2 is a mid, vivid violet. Relative luminance 0.189; OKLCH L 59.5% C 0.197 H 298.3°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#905BE2
RGBrgb(144, 91, 226)
HSLhsl(264, 70%, 62%)
HSVhsv(264, 60%, 89%)
CMYKcmyk(36.3%, 59.7%, 0%, 11.4%)
CIE-LABlab(50.57, 49.53, -61.11)
CIE-LCHlch(50.57, 78.66, 309.02°)
OKLaboklab(59.5% 0.0934 -0.1736)
OKLCHoklch(59.5% 0.197 298.3)
XYZxyz(28.9667, 18.9021, 74.0591)
Luminance0.1890 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#905BE2 #ADE25B
analogous
#5B69E2 #905BE2 #D45BE2
triadic
#905BE2 #E2905B #5BE290
tetradic
#905BE2 #E25B69 #ADE25B #5BE2D4
square
#905BE2 #E25B69 #ADE25B #5BE2D4
split-complementary
#905BE2 #E2D45B #69E25B
monochromatic
#531DA5 #6D27D9 #905BE2 #B38FEB #D6C3F4

Accessibility & contrast

On white

4.39
#905BE2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#905BE2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #905BE2
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##905BE2#FFFFFF#000000##000000
##905BE21.004.394.784.78
#FFFFFF4.391.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079E6
Deuteranopia (green-blind)
#2677DF
Tritanopia (blue-blind)
#7D7896
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #905be2;
/* rgb */ color: rgb(144, 91, 226);
/* oklch */ color: oklch(59.5% 0.197 298.3);
Tailwind
colors: {
  custom: {
    50: '#b58cec',
    500: '#905be2',
    950: '#000000',
  },
}
SCSS
$custom: #905be2;
$custom-light: #b58cec;
$custom-dark: #000000;
JSON
{
  "hex": "#905be2",
  "rgb": {
    "r": 144,
    "g": 91,
    "b": 226
  },
  "hsl": {
    "h": 263.556,
    "s": 69.948,
    "l": 62.157
  },
  "oklch": {
    "l": 0.59504,
    "c": 0.19713,
    "h": 298.3
  },
  "luminance": 0.18902
}

Semantic roles & 50–950 ramp

primary
#905BE2
secondary
#D2E5B4
accent
#D21487
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #905BE2

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

Preview Lab → · Contrast checker → · Palette generator →

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