#905DC7#905DC7

#905DC7 is a mid, vivid violet. Relative luminance 0.179; OKLCH L 58.1% C 0.162 H 304.0°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#905DC7
RGBrgb(144, 93, 199)
HSLhsl(269, 49%, 57%)
HSVhsv(269, 53%, 78%)
CMYKcmyk(27.6%, 53.3%, 0%, 22%)
CIE-LABlab(49.35, 41.73, -47.68)
CIE-LCHlch(49.35, 63.36, 311.19°)
OKLaboklab(58.08% 0.0906 -0.1342)
OKLCHoklch(58.08% 0.162 304)
XYZxyz(25.7225, 17.8816, 56.1181)
Luminance0.1788 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#905DC7 #94C75D
analogous
#5D5FC7 #905DC7 #C55DC7
triadic
#905DC7 #C7905D #5DC790
tetradic
#905DC7 #C75D5F #94C75D #5DC7C5
square
#905DC7 #C75D5F #94C75D #5DC7C5
split-complementary
#905DC7 #C7C55D #5FC75D
monochromatic
#532C7E #713BAC #905DC7 #AF8AD7 #CEB8E6

Accessibility & contrast

On white

4.59
#905DC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#905DC7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #905DC7
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##905DC7#FFFFFF#000000##FFFFFF
##905DC71.004.594.584.59
#FFFFFF4.591.0021.001.00
#0000004.5821.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3974CB
Deuteranopia (green-blind)
#4975C4
Tritanopia (blue-blind)
#867189
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #905dc7;
/* rgb */ color: rgb(144, 93, 199);
/* oklch */ color: oklch(58.1% 0.162 304.0);
Tailwind
colors: {
  custom: {
    50: '#b38cd8',
    500: '#905dc7',
    950: '#000000',
  },
}
SCSS
$custom: #905dc7;
$custom-light: #b38cd8;
$custom-dark: #000000;
JSON
{
  "hex": "#905dc7",
  "rgb": {
    "r": 144,
    "g": 93,
    "b": 199
  },
  "hsl": {
    "h": 268.868,
    "s": 48.624,
    "l": 57.255
  },
  "oklch": {
    "l": 0.58083,
    "c": 0.16193,
    "h": 304
  },
  "luminance": 0.17882
}

Semantic roles & 50–950 ramp

primary
#905DC7
secondary
#C1D5AA
accent
#D85096
background
#FBF8FD
surface
#F6F0FA
border
#D0CBD3
text
#110C14
muted
#807D83

Preview Lab

Preview with #905DC7

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

Preview Lab → · Contrast checker → · Palette generator →

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