#905BE4#905BE4

#905BE4 is a mid, vivid violet. Relative luminance 0.190; OKLCH L 59.6% C 0.199 H 297.9°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#905BE4
RGBrgb(144, 91, 228)
HSLhsl(263, 72%, 63%)
HSVhsv(263, 60%, 89%)
CMYKcmyk(36.8%, 60.1%, 0%, 10.6%)
CIE-LABlab(50.70, 50.04, -62.03)
CIE-LCHlch(50.70, 79.69, 308.89°)
OKLaboklab(59.64% 0.0933 -0.1763)
OKLCHoklch(59.64% 0.199 297.9)
XYZxyz(29.2427, 19.0125, 75.5129)
Luminance0.1901 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#905BE4 #AFE45B
analogous
#5B6AE4 #905BE4 #D55BE4
triadic
#905BE4 #E4905B #5BE490
tetradic
#905BE4 #E45B6A #AFE45B #5BE4D5
square
#905BE4 #E45B6A #AFE45B #5BE4D5
split-complementary
#905BE4 #E4D55B #6AE45B
monochromatic
#521CA9 #6C26DB #905BE4 #B490ED #D7C4F5

Accessibility & contrast

On white

4.37
#905BE4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#905BE4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #905BE4
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##905BE4#FFFFFF#000000##000000
##905BE41.004.374.804.80
#FFFFFF4.371.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079E8
Deuteranopia (green-blind)
#2277E1
Tritanopia (blue-blind)
#7D7997
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #905be4;
/* rgb */ color: rgb(144, 91, 228);
/* oklch */ color: oklch(59.6% 0.199 297.9);
Tailwind
colors: {
  custom: {
    50: '#b68ced',
    500: '#905be4',
    950: '#000000',
  },
}
SCSS
$custom: #905be4;
$custom-light: #b68ced;
$custom-dark: #000000;
JSON
{
  "hex": "#905be4",
  "rgb": {
    "r": 144,
    "g": 91,
    "b": 228
  },
  "hsl": {
    "h": 263.212,
    "s": 71.728,
    "l": 62.549
  },
  "oklch": {
    "l": 0.59639,
    "c": 0.19949,
    "h": 297.9
  },
  "luminance": 0.19013
}

Semantic roles & 50–950 ramp

primary
#905BE4
secondary
#D3E6B4
accent
#D41289
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #905BE4

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

Preview Lab → · Contrast checker → · Palette generator →

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