#905EC7#905EC7

#905EC7 is a mid, vivid violet. Relative luminance 0.181; OKLCH L 58.2% C 0.160 H 303.8°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#905EC7
RGBrgb(144, 94, 199)
HSLhsl(269, 48%, 57%)
HSVhsv(269, 53%, 78%)
CMYKcmyk(27.6%, 52.8%, 0%, 22%)
CIE-LABlab(49.57, 41.17, -47.34)
CIE-LCHlch(49.57, 62.73, 311.02°)
OKLaboklab(58.24% 0.0893 -0.1332)
OKLCHoklch(58.24% 0.16 303.8)
XYZxyz(25.8108, 18.0583, 56.1476)
Luminance0.1806 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#905EC7 #95C75E
analogous
#5E61C7 #905EC7 #C45EC7
triadic
#905EC7 #C7905E #5EC790
tetradic
#905EC7 #C75E61 #95C75E #5EC7C4
square
#905EC7 #C75E61 #95C75E #5EC7C4
split-complementary
#905EC7 #C7C45E #61C75E
monochromatic
#532C7F #713CAC #905EC7 #AF8BD7 #CFB9E7

Accessibility & contrast

On white

4.55
#905EC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#905EC7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #905EC7
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##905EC7#FFFFFF#000000##000000
##905EC71.004.554.614.61
#FFFFFF4.551.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B75CB
Deuteranopia (green-blind)
#4A76C4
Tritanopia (blue-blind)
#86718A
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #905ec7;
/* rgb */ color: rgb(144, 94, 199);
/* oklch */ color: oklch(58.2% 0.160 303.8);
Tailwind
colors: {
  custom: {
    50: '#b38dd8',
    500: '#905ec7',
    950: '#000000',
  },
}
SCSS
$custom: #905ec7;
$custom-light: #b38dd8;
$custom-dark: #000000;
JSON
{
  "hex": "#905ec7",
  "rgb": {
    "r": 144,
    "g": 94,
    "b": 199
  },
  "hsl": {
    "h": 268.571,
    "s": 48.387,
    "l": 57.451
  },
  "oklch": {
    "l": 0.58241,
    "c": 0.16036,
    "h": 303.8
  },
  "luminance": 0.18058
}

Semantic roles & 50–950 ramp

primary
#905EC7
secondary
#C1D6AB
accent
#D85097
background
#FBF8FD
surface
#F6F0FA
border
#D0CBD3
text
#110C14
muted
#807D83

Preview Lab

Preview with #905EC7

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

Preview Lab → · Contrast checker → · Palette generator →

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