#905BE5#905BE5

#905BE5 is a mid, highly saturated violet. Relative luminance 0.191; OKLCH L 59.7% C 0.201 H 297.7°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#905BE5
RGBrgb(144, 91, 229)
HSLhsl(263, 73%, 63%)
HSVhsv(263, 60%, 90%)
CMYKcmyk(37.1%, 60.3%, 0%, 10.2%)
CIE-LABlab(50.77, 50.29, -62.49)
CIE-LCHlch(50.77, 80.21, 308.83°)
OKLaboklab(59.71% 0.0933 -0.1777)
OKLCHoklch(59.71% 0.201 297.7)
XYZxyz(29.3820, 19.0682, 76.2461)
Luminance0.1907 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#905BE5 #B0E55B
analogous
#5B6BE5 #905BE5 #D55BE5
triadic
#905BE5 #E5905B #5BE590
tetradic
#905BE5 #E55B6B #B0E55B #5BE5D5
square
#905BE5 #E55B6B #B0E55B #5BE5D5
split-complementary
#905BE5 #E5D55B #6BE55B
monochromatic
#521BAB #6C26DD #905BE5 #B490ED #D8C5F6

Accessibility & contrast

On white

4.36
#905BE5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#905BE5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #905BE5
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##905BE5#FFFFFF#000000##000000
##905BE51.004.364.814.81
#FFFFFF4.361.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079E9
Deuteranopia (green-blind)
#1F77E2
Tritanopia (blue-blind)
#7C7998
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #905be5;
/* rgb */ color: rgb(144, 91, 229);
/* oklch */ color: oklch(59.7% 0.201 297.7);
Tailwind
colors: {
  custom: {
    50: '#b68cee',
    500: '#905be5',
    950: '#000000',
  },
}
SCSS
$custom: #905be5;
$custom-light: #b68cee;
$custom-dark: #000000;
JSON
{
  "hex": "#905be5",
  "rgb": {
    "r": 144,
    "g": 91,
    "b": 229
  },
  "hsl": {
    "h": 263.043,
    "s": 72.632,
    "l": 62.745
  },
  "oklch": {
    "l": 0.59707,
    "c": 0.20066,
    "h": 297.7
  },
  "luminance": 0.19069
}

Semantic roles & 50–950 ramp

primary
#905BE5
secondary
#D4E7B5
accent
#D51189
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #905BE5

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

Preview Lab → · Contrast checker → · Palette generator →

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