#905EC0#905EC0

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

Color values

HEX#905EC0
RGBrgb(144, 94, 192)
HSLhsl(271, 44%, 56%)
HSVhsv(271, 51%, 75%)
CMYKcmyk(25%, 51%, 0%, 24.7%)
CIE-LABlab(49.18, 39.48, -43.92)
CIE-LCHlch(49.18, 59.05, 311.96°)
OKLaboklab(57.83% 0.0887 -0.1232)
OKLCHoklch(57.83% 0.152 305.7)
XYZxyz(25.0167, 17.7407, 51.9653)
Luminance0.1774 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#905EC0 #8EC05E
analogous
#5F5EC0 #905EC0 #C05EBF
triadic
#905EC0 #C0905E #5EC090
tetradic
#905EC0 #C05F5E #8EC05E #5EBFC0
square
#905EC0 #C05F5E #8EC05E #5EBFC0
split-complementary
#905EC0 #BFC05E #5EC05F
monochromatic
#532E76 #713FA2 #905EC0 #AE8AD1 #CDB6E2

Accessibility & contrast

On white

4.62
#905EC0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#905EC0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #905EC0
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##905EC0#FFFFFF#000000##FFFFFF
##905EC01.004.624.554.62
#FFFFFF4.621.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4173C3
Deuteranopia (green-blind)
#4F75BE
Tritanopia (blue-blind)
#886F86
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #905ec0;
/* rgb */ color: rgb(144, 94, 192);
/* oklch */ color: oklch(57.8% 0.152 305.7);
Tailwind
colors: {
  custom: {
    50: '#b38dd3',
    500: '#905ec0',
    950: '#000000',
  },
}
SCSS
$custom: #905ec0;
$custom-light: #b38dd3;
$custom-dark: #000000;
JSON
{
  "hex": "#905ec0",
  "rgb": {
    "r": 144,
    "g": 94,
    "b": 192
  },
  "hsl": {
    "h": 270.612,
    "s": 43.75,
    "l": 56.078
  },
  "oklch": {
    "l": 0.5783,
    "c": 0.15183,
    "h": 305.7
  },
  "luminance": 0.1774
}

Semantic roles & 50–950 ramp

primary
#905EC0
secondary
#BCD1A9
accent
#D35493
background
#FBF8FD
surface
#F6F0FA
border
#D0CBD3
text
#110C14
muted
#807D83

Preview Lab

Preview with #905EC0

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

Preview Lab → · Contrast checker → · Palette generator →

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