#905BE3#905BE3

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

Color values

HEX#905BE3
RGBrgb(144, 91, 227)
HSLhsl(263, 71%, 62%)
HSVhsv(263, 60%, 89%)
CMYKcmyk(36.6%, 59.9%, 0%, 11%)
CIE-LABlab(50.64, 49.78, -61.57)
CIE-LCHlch(50.64, 79.18, 308.96°)
OKLaboklab(59.57% 0.0934 -0.175)
OKLCHoklch(59.57% 0.198 298.1)
XYZxyz(29.1043, 18.9571, 74.7839)
Luminance0.1896 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#905BE3 #AEE35B
analogous
#5B6AE3 #905BE3 #D45BE3
triadic
#905BE3 #E3905B #5BE390
tetradic
#905BE3 #E35B6A #AEE35B #5BE3D4
square
#905BE3 #E35B6A #AEE35B #5BE3D4
split-complementary
#905BE3 #E3D45B #6AE35B
monochromatic
#531DA7 #6D27DA #905BE3 #B38FEC #D7C4F5

Accessibility & contrast

On white

4.38
#905BE3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#905BE3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #905BE3
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##905BE3#FFFFFF#000000##000000
##905BE31.004.384.794.79
#FFFFFF4.381.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079E7
Deuteranopia (green-blind)
#2477E0
Tritanopia (blue-blind)
#7D7896
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #905be3;
/* rgb */ color: rgb(144, 91, 227);
/* oklch */ color: oklch(59.6% 0.198 298.1);
Tailwind
colors: {
  custom: {
    50: '#b58ced',
    500: '#905be3',
    950: '#000000',
  },
}
SCSS
$custom: #905be3;
$custom-light: #b58ced;
$custom-dark: #000000;
JSON
{
  "hex": "#905be3",
  "rgb": {
    "r": 144,
    "g": 91,
    "b": 227
  },
  "hsl": {
    "h": 263.382,
    "s": 70.833,
    "l": 62.353
  },
  "oklch": {
    "l": 0.59571,
    "c": 0.19831,
    "h": 298.1
  },
  "luminance": 0.18958
}

Semantic roles & 50–950 ramp

primary
#905BE3
secondary
#D2E6B4
accent
#D31388
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #905BE3

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

Preview Lab → · Contrast checker → · Palette generator →

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