#905BC5#905BC5

#905BC5 is a mid, vivid violet. Relative luminance 0.174; OKLCH L 57.6% C 0.163 H 304.9°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#905BC5
RGBrgb(144, 91, 197)
HSLhsl(270, 48%, 56%)
HSVhsv(270, 54%, 77%)
CMYKcmyk(26.9%, 53.8%, 0%, 22.7%)
CIE-LABlab(48.81, 42.35, -47.38)
CIE-LCHlch(48.81, 63.55, 311.79°)
OKLaboklab(57.65% 0.0931 -0.1334)
OKLCHoklch(57.65% 0.163 304.9)
XYZxyz(25.3186, 17.4428, 54.8455)
Luminance0.1744 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#905BC5 #90C55B
analogous
#5B5BC5 #905BC5 #C55BC5
triadic
#905BC5 #C5905B #5BC590
tetradic
#905BC5 #C55B5B #90C55B #5BC5C5
square
#905BC5 #C55B5B #90C55B #5BC5C5
split-complementary
#905BC5 #C5C55B #5BC55B
monochromatic
#532B7A #713BA8 #905BC5 #AF88D5 #CDB5E5

Accessibility & contrast

On white

4.68
#905BC5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#905BC5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #905BC5
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##905BC5#FFFFFF#000000##FFFFFF
##905BC51.004.684.494.68
#FFFFFF4.681.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3772C9
Deuteranopia (green-blind)
#4874C2
Tritanopia (blue-blind)
#876F87
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #905bc5;
/* rgb */ color: rgb(144, 91, 197);
/* oklch */ color: oklch(57.6% 0.163 304.9);
Tailwind
colors: {
  custom: {
    50: '#b38bd7',
    500: '#905bc5',
    950: '#000000',
  },
}
SCSS
$custom: #905bc5;
$custom-light: #b38bd7;
$custom-dark: #000000;
JSON
{
  "hex": "#905bc5",
  "rgb": {
    "r": 144,
    "g": 91,
    "b": 197
  },
  "hsl": {
    "h": 270,
    "s": 47.748,
    "l": 56.471
  },
  "oklch": {
    "l": 0.57648,
    "c": 0.16265,
    "h": 304.9
  },
  "luminance": 0.17443
}

Semantic roles & 50–950 ramp

primary
#905BC5
secondary
#BED4A8
accent
#D75094
background
#FBF8FD
surface
#F6F0FA
border
#D0CBD3
text
#110C14
muted
#807D83

Preview Lab

Preview with #905BC5

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

Preview Lab → · Contrast checker → · Palette generator →

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