#905EB5#905EB5

#905EB5 is a mid, vivid violet. Relative luminance 0.173; OKLCH L 57.2% C 0.138 H 309.2°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#905EB5
RGBrgb(144, 94, 181)
HSLhsl(274, 37%, 54%)
HSVhsv(274, 48%, 71%)
CMYKcmyk(20.4%, 48.1%, 0%, 29%)
CIE-LABlab(48.60, 36.89, -38.46)
CIE-LCHlch(48.60, 53.29, 313.81°)
OKLaboklab(57.21% 0.0875 -0.1073)
OKLCHoklch(57.21% 0.138 309.2)
XYZxyz(23.8432, 17.2712, 45.7847)
Luminance0.1727 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#905EB5 #83B55E
analogous
#655EB5 #905EB5 #B55EAF
triadic
#905EB5 #B5905E #5EB590
tetradic
#905EB5 #B5655E #83B55E #5EAFB5
square
#905EB5 #B5655E #83B55E #5EAFB5
split-complementary
#905EB5 #AFB55E #5EB565
monochromatic
#513069 #714392 #905EB5 #AD88C8 #CAB2DC

Accessibility & contrast

On white

4.71
#905EB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#905EB5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #905EB5
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##905EB5#FFFFFF#000000##FFFFFF
##905EB51.004.714.454.71
#FFFFFF4.711.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4871B8
Deuteranopia (green-blind)
#5674B3
Tritanopia (blue-blind)
#8B6C81
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #905eb5;
/* rgb */ color: rgb(144, 94, 181);
/* oklch */ color: oklch(57.2% 0.138 309.2);
Tailwind
colors: {
  custom: {
    50: '#b28dcb',
    500: '#905eb5',
    950: '#000000',
  },
}
SCSS
$custom: #905eb5;
$custom-light: #b28dcb;
$custom-dark: #000000;
JSON
{
  "hex": "#905eb5",
  "rgb": {
    "r": 144,
    "g": 94,
    "b": 181
  },
  "hsl": {
    "h": 274.483,
    "s": 37.021,
    "l": 53.922
  },
  "oklch": {
    "l": 0.5721,
    "c": 0.13846,
    "h": 309.2
  },
  "luminance": 0.17271
}

Semantic roles & 50–950 ramp

primary
#905EB5
secondary
#B5CAA5
accent
#CD5B8B
background
#FBF8FC
surface
#F6F0F8
border
#D0CBD1
text
#110C13
muted
#807D82

Preview Lab

Preview with #905EB5

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

Preview Lab → · Contrast checker → · Palette generator →

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