#905DC2#905DC2

#905DC2 is a mid, vivid violet. Relative luminance 0.177; OKLCH L 57.8% C 0.156 H 305.4°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#905DC2
RGBrgb(144, 93, 194)
HSLhsl(270, 45%, 56%)
HSVhsv(270, 52%, 76%)
CMYKcmyk(25.8%, 52.1%, 0%, 23.9%)
CIE-LABlab(49.07, 40.52, -45.24)
CIE-LCHlch(49.07, 60.73, 311.85°)
OKLaboklab(57.79% 0.0902 -0.1271)
OKLCHoklch(57.79% 0.156 305.4)
XYZxyz(25.1515, 17.6532, 53.1109)
Luminance0.1765 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#905DC2 #8FC25D
analogous
#5E5DC2 #905DC2 #C25DC2
triadic
#905DC2 #C2905D #5DC290
tetradic
#905DC2 #C25E5D #8FC25D #5DC2C2
square
#905DC2 #C25E5D #8FC25D #5DC2C2
split-complementary
#905DC2 #C2C25D #5DC25E
monochromatic
#532D78 #713EA4 #905DC2 #AE89D3 #CDB6E3

Accessibility & contrast

On white

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

On black

4.53
#905DC2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##905DC2#FFFFFF#000000##FFFFFF
##905DC21.004.644.534.64
#FFFFFF4.641.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D73C5
Deuteranopia (green-blind)
#4D75C0
Tritanopia (blue-blind)
#886F87
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #905dc2;
/* rgb */ color: rgb(144, 93, 194);
/* oklch */ color: oklch(57.8% 0.156 305.4);
Tailwind
colors: {
  custom: {
    50: '#b38cd5',
    500: '#905dc2',
    950: '#000000',
  },
}
SCSS
$custom: #905dc2;
$custom-light: #b38cd5;
$custom-dark: #000000;
JSON
{
  "hex": "#905dc2",
  "rgb": {
    "r": 144,
    "g": 93,
    "b": 194
  },
  "hsl": {
    "h": 270.297,
    "s": 45.291,
    "l": 56.275
  },
  "oklch": {
    "l": 0.57786,
    "c": 0.15588,
    "h": 305.4
  },
  "luminance": 0.17653
}

Semantic roles & 50–950 ramp

primary
#905DC2
secondary
#BDD2A9
accent
#D55393
background
#FBF8FD
surface
#F6F0FA
border
#D0CBD3
text
#110C14
muted
#807D83

Preview Lab

Preview with #905DC2

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

Preview Lab → · Contrast checker → · Palette generator →

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