#905EB8#905EB8

#905EB8 is a mid, vivid violet. Relative luminance 0.174; OKLCH L 57.4% C 0.142 H 308.2°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#905EB8
RGBrgb(144, 94, 184)
HSLhsl(273, 39%, 55%)
HSVhsv(273, 49%, 72%)
CMYKcmyk(21.7%, 48.9%, 0%, 27.8%)
CIE-LABlab(48.75, 37.59, -39.96)
CIE-LCHlch(48.75, 54.86, 313.25°)
OKLaboklab(57.38% 0.0879 -0.1117)
OKLCHoklch(57.38% 0.142 308.2)
XYZxyz(24.1543, 17.3957, 47.4233)
Luminance0.1739 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#905EB8 #86B85E
analogous
#635EB8 #905EB8 #B85EB3
triadic
#905EB8 #B8905E #5EB890
tetradic
#905EB8 #B8635E #86B85E #5EB3B8
square
#905EB8 #B8635E #86B85E #5EB3B8
split-complementary
#905EB8 #B3B85E #5EB863
monochromatic
#51306C #714296 #905EB8 #AD88CB #CBB3DD

Accessibility & contrast

On white

4.69
#905EB8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#905EB8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #905EB8
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##905EB8#FFFFFF#000000##FFFFFF
##905EB81.004.694.484.69
#FFFFFF4.691.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4672BB
Deuteranopia (green-blind)
#5474B6
Tritanopia (blue-blind)
#8A6D82
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #905eb8;
/* rgb */ color: rgb(144, 94, 184);
/* oklch */ color: oklch(57.4% 0.142 308.2);
Tailwind
colors: {
  custom: {
    50: '#b28dce',
    500: '#905eb8',
    950: '#000000',
  },
}
SCSS
$custom: #905eb8;
$custom-light: #b28dce;
$custom-dark: #000000;
JSON
{
  "hex": "#905eb8",
  "rgb": {
    "r": 144,
    "g": 94,
    "b": 184
  },
  "hsl": {
    "h": 273.333,
    "s": 38.793,
    "l": 54.51
  },
  "oklch": {
    "l": 0.57375,
    "c": 0.1421,
    "h": 308.2
  },
  "luminance": 0.17395
}

Semantic roles & 50–950 ramp

primary
#905EB8
secondary
#B7CCA6
accent
#CF598D
background
#FBF8FC
surface
#F6F0F9
border
#D0CBD2
text
#110C13
muted
#807D82

Preview Lab

Preview with #905EB8

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

Preview Lab → · Contrast checker → · Palette generator →

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