#905BDF#905BDF

#905BDF is a mid, vivid violet. Relative luminance 0.187; OKLCH L 59.3% C 0.194 H 298.9°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#905BDF
RGBrgb(144, 91, 223)
HSLhsl(264, 67%, 62%)
HSVhsv(264, 59%, 87%)
CMYKcmyk(35.4%, 59.2%, 0%, 12.5%)
CIE-LABlab(50.38, 48.77, -59.72)
CIE-LCHlch(50.38, 77.10, 309.24°)
OKLaboklab(59.3% 0.0935 -0.1695)
OKLCHoklch(59.3% 0.194 298.9)
XYZxyz(28.5587, 18.7389, 71.9101)
Luminance0.1874 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#905BDF #AADF5B
analogous
#5B68DF #905BDF #D25BDF
triadic
#905BDF #DF905B #5BDF90
tetradic
#905BDF #DF5B68 #AADF5B #5BDFD2
square
#905BDF #DF5B68 #AADF5B #5BDFD2
split-complementary
#905BDF #DFD25B #68DF5B
monochromatic
#531FA0 #6E29D4 #905BDF #B38EE9 #D5C1F3

Accessibility & contrast

On white

4.42
#905BDF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#905BDF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #905BDF
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##905BDF#FFFFFF#000000##000000
##905BDF1.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0578E3
Deuteranopia (green-blind)
#2B77DC
Tritanopia (blue-blind)
#7E7794
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #905bdf;
/* rgb */ color: rgb(144, 91, 223);
/* oklch */ color: oklch(59.3% 0.194 298.9);
Tailwind
colors: {
  custom: {
    50: '#b58cea',
    500: '#905bdf',
    950: '#000000',
  },
}
SCSS
$custom: #905bdf;
$custom-light: #b58cea;
$custom-dark: #000000;
JSON
{
  "hex": "#905bdf",
  "rgb": {
    "r": 144,
    "g": 91,
    "b": 223
  },
  "hsl": {
    "h": 264.091,
    "s": 67.347,
    "l": 61.569
  },
  "oklch": {
    "l": 0.59302,
    "c": 0.1936,
    "h": 298.9
  },
  "luminance": 0.18739
}

Semantic roles & 50–950 ramp

primary
#905BDF
secondary
#D0E3B2
accent
#CF1685
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #905BDF

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

Preview Lab → · Contrast checker → · Palette generator →

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