#905BEF#905BEF

#905BEF is a mid, highly saturated violet. Relative luminance 0.196; OKLCH L 60.4% C 0.212 H 295.9°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#905BEF
RGBrgb(144, 91, 239)
HSLhsl(261, 82%, 65%)
HSVhsv(261, 62%, 94%)
CMYKcmyk(39.7%, 61.9%, 0%, 6.3%)
CIE-LABlab(51.43, 52.85, -67.03)
CIE-LCHlch(51.43, 85.36, 308.25°)
OKLaboklab(60.4% 0.0927 -0.191)
OKLCHoklch(60.4% 0.212 295.9)
XYZxyz(30.8186, 19.6428, 83.8123)
Luminance0.1964 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#905BEF #BAEF5B
analogous
#5B70EF #905BEF #DA5BEF
triadic
#905BEF #EF905B #5BEF90
tetradic
#905BEF #EF5B70 #BAEF5B #5BEFDA
square
#905BEF #EF5B70 #BAEF5B #5BEFDA
split-complementary
#905BEF #EFDA5B #70EF5B
monochromatic
#5012BD #6A23EA #905BEF #B693F4 #DBCBFA

Accessibility & contrast

On white

4.26
#905BEF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#905BEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #905BEF
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##905BEF#FFFFFF#000000##000000
##905BEF1.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CF4
Deuteranopia (green-blind)
#0078EC
Tritanopia (blue-blind)
#787C9D
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #905bef;
/* rgb */ color: rgb(144, 91, 239);
/* oklch */ color: oklch(60.4% 0.212 295.9);
Tailwind
colors: {
  custom: {
    50: '#b68cf5',
    500: '#905bef',
    950: '#000000',
  },
}
SCSS
$custom: #905bef;
$custom-light: #b68cf5;
$custom-dark: #000000;
JSON
{
  "hex": "#905bef",
  "rgb": {
    "r": 144,
    "g": 91,
    "b": 239
  },
  "hsl": {
    "h": 261.486,
    "s": 82.222,
    "l": 64.706
  },
  "oklch": {
    "l": 0.60401,
    "c": 0.21233,
    "h": 295.9
  },
  "luminance": 0.19643
}

Semantic roles & 50–950 ramp

primary
#905BEF
secondary
#DAECBA
accent
#DF0791
background
#FBF8FF
surface
#F6F0FE
border
#D0CBD6
text
#120C17
muted
#817D85

Preview Lab

Preview with #905BEF

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

Preview Lab → · Contrast checker → · Palette generator →

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