#905DC8#905DC8

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

Color values

HEX#905DC8
RGBrgb(144, 93, 200)
HSLhsl(269, 49%, 57%)
HSVhsv(269, 54%, 78%)
CMYKcmyk(28%, 53.5%, 0%, 21.6%)
CIE-LABlab(49.41, 41.97, -48.16)
CIE-LCHlch(49.41, 63.88, 311.07°)
OKLaboklab(58.14% 0.0907 -0.1356)
OKLCHoklch(58.14% 0.163 303.8)
XYZxyz(25.8390, 17.9282, 56.7316)
Luminance0.1793 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#905DC8 #95C85D
analogous
#5D60C8 #905DC8 #C65DC8
triadic
#905DC8 #C8905D #5DC890
tetradic
#905DC8 #C85D60 #95C85D #5DC8C6
square
#905DC8 #C85D60 #95C85D #5DC8C6
split-complementary
#905DC8 #C8C65D #60C85D
monochromatic
#532B7F #713BAD #905DC8 #AF8BD8 #CFB8E7

Accessibility & contrast

On white

4.58
#905DC8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#905DC8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #905DC8
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##905DC8#FFFFFF#000000##000000
##905DC81.004.584.594.59
#FFFFFF4.581.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3874CC
Deuteranopia (green-blind)
#4875C5
Tritanopia (blue-blind)
#86718A
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #905dc8;
/* rgb */ color: rgb(144, 93, 200);
/* oklch */ color: oklch(58.1% 0.163 303.8);
Tailwind
colors: {
  custom: {
    50: '#b38cd9',
    500: '#905dc8',
    950: '#000000',
  },
}
SCSS
$custom: #905dc8;
$custom-light: #b38cd9;
$custom-dark: #000000;
JSON
{
  "hex": "#905dc8",
  "rgb": {
    "r": 144,
    "g": 93,
    "b": 200
  },
  "hsl": {
    "h": 268.598,
    "s": 49.309,
    "l": 57.451
  },
  "oklch": {
    "l": 0.58143,
    "c": 0.16313,
    "h": 303.8
  },
  "luminance": 0.17928
}

Semantic roles & 50–950 ramp

primary
#905DC8
secondary
#C1D6AB
accent
#D94F97
background
#FBF8FD
surface
#F6F0FA
border
#D0CBD3
text
#110C15
muted
#807D83

Preview Lab

Preview with #905DC8

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

Preview Lab → · Contrast checker → · Palette generator →

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