#905DC1#905DC1

#905DC1 is a mid, vivid violet. Relative luminance 0.176; OKLCH L 57.7% C 0.155 H 305.7°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#905DC1
RGBrgb(144, 93, 193)
HSLhsl(271, 45%, 56%)
HSVhsv(271, 52%, 76%)
CMYKcmyk(25.4%, 51.8%, 0%, 24.3%)
CIE-LABlab(49.02, 40.28, -44.75)
CIE-LCHlch(49.02, 60.21, 311.99°)
OKLaboklab(57.73% 0.0901 -0.1257)
OKLCHoklch(57.73% 0.155 305.7)
XYZxyz(25.0396, 17.6084, 52.5214)
Luminance0.1761 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#905DC1 #8EC15D
analogous
#5E5DC1 #905DC1 #C15DC0
triadic
#905DC1 #C1905D #5DC190
tetradic
#905DC1 #C15E5D #8EC15D #5DC0C1
square
#905DC1 #C15E5D #8EC15D #5DC0C1
split-complementary
#905DC1 #C0C15D #5DC15E
monochromatic
#532D76 #713EA3 #905DC1 #AE89D2 #CDB6E3

Accessibility & contrast

On white

4.64
#905DC1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#905DC1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #905DC1
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##905DC1#FFFFFF#000000##FFFFFF
##905DC11.004.644.524.64
#FFFFFF4.641.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E73C4
Deuteranopia (green-blind)
#4D75BF
Tritanopia (blue-blind)
#886F86
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #905dc1;
/* rgb */ color: rgb(144, 93, 193);
/* oklch */ color: oklch(57.7% 0.155 305.7);
Tailwind
colors: {
  custom: {
    50: '#b38cd4',
    500: '#905dc1',
    950: '#000000',
  },
}
SCSS
$custom: #905dc1;
$custom-light: #b38cd4;
$custom-dark: #000000;
JSON
{
  "hex": "#905dc1",
  "rgb": {
    "r": 144,
    "g": 93,
    "b": 193
  },
  "hsl": {
    "h": 270.6,
    "s": 44.643,
    "l": 56.078
  },
  "oklch": {
    "l": 0.57727,
    "c": 0.15466,
    "h": 305.7
  },
  "luminance": 0.17608
}

Semantic roles & 50–950 ramp

primary
#905DC1
secondary
#BCD2A8
accent
#D45393
background
#FBF8FD
surface
#F6F0FA
border
#D0CBD3
text
#110C14
muted
#807D83

Preview Lab

Preview with #905DC1

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

Preview Lab → · Contrast checker → · Palette generator →

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