#905DCF#905DCF

#905DCF is a mid, vivid violet. Relative luminance 0.183; OKLCH L 58.6% C 0.172 H 302.0°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#905DCF
RGBrgb(144, 93, 207)
HSLhsl(267, 54%, 59%)
HSVhsv(267, 55%, 81%)
CMYKcmyk(30.4%, 55.1%, 0%, 18.8%)
CIE-LABlab(49.81, 43.68, -51.53)
CIE-LCHlch(49.81, 67.55, 310.29°)
OKLaboklab(58.57% 0.091 -0.1455)
OKLCHoklch(58.57% 0.172 302)
XYZxyz(26.6758, 18.2629, 61.1391)
Luminance0.1826 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#905DCF #9CCF5D
analogous
#5D63CF #905DCF #C95DCF
triadic
#905DCF #CF905D #5DCF90
tetradic
#905DCF #CF5D63 #9CCF5D #5DCFC9
square
#905DCF #CF5D63 #9CCF5D #5DCFC9
split-complementary
#905DCF #CFC95D #63CF5D
monochromatic
#542989 #7137B8 #905DCF #B08CDD #D1BBEB

Accessibility & contrast

On white

4.51
#905DCF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.65
#905DCF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #905DCF
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##905DCF#FFFFFF#000000##000000
##905DCF1.004.514.654.65
#FFFFFF4.511.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3076D3
Deuteranopia (green-blind)
#4276CC
Tritanopia (blue-blind)
#84738D
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #905dcf;
/* rgb */ color: rgb(144, 93, 207);
/* oklch */ color: oklch(58.6% 0.172 302.0);
Tailwind
colors: {
  custom: {
    50: '#b48dde',
    500: '#905dcf',
    950: '#000000',
  },
}
SCSS
$custom: #905dcf;
$custom-light: #b48dde;
$custom-dark: #000000;
JSON
{
  "hex": "#905dcf",
  "rgb": {
    "r": 144,
    "g": 93,
    "b": 207
  },
  "hsl": {
    "h": 266.842,
    "s": 54.286,
    "l": 58.824
  },
  "oklch": {
    "l": 0.58572,
    "c": 0.17159,
    "h": 302
  },
  "luminance": 0.18263
}

Semantic roles & 50–950 ramp

primary
#905DCF
secondary
#C6DAAD
accent
#DE4A9C
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110C15
muted
#807D83

Preview Lab

Preview with #905DCF

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

Preview Lab → · Contrast checker → · Palette generator →

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