#905FA2#905FA2

#905FA2 is a mid, moderate purple. Relative luminance 0.167; OKLCH L 56.4% C 0.114 H 316.6°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#905FA2
RGBrgb(144, 95, 162)
HSLhsl(284, 26%, 50%)
HSVhsv(284, 41%, 64%)
CMYKcmyk(11.1%, 41.4%, 0%, 36.5%)
CIE-LABlab(47.91, 32.06, -28.41)
CIE-LCHlch(47.91, 42.84, 318.45°)
OKLaboklab(56.39% 0.0828 -0.0783)
OKLCHoklch(56.39% 0.114 316.6)
XYZxyz(22.1144, 16.7229, 36.2383)
Luminance0.1672 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#905FA2 #71A25F
analogous
#6F5FA2 #905FA2 #A25F92
triadic
#905FA2 #A2905F #5FA290
tetradic
#905FA2 #A26F5F #71A25F #5F92A2
square
#905FA2 #A26F5F #71A25F #5F92A2
split-complementary
#905FA2 #92A25F #5FA26F
monochromatic
#4C3155 #6E487C #905FA2 #AB86B8 #C6ACCF

Accessibility & contrast

On white

4.83
#905FA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#905FA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #905FA2
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##905FA2#FFFFFF#000000##FFFFFF
##905FA21.004.834.344.83
#FFFFFF4.831.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#546FA4
Deuteranopia (green-blind)
#6173A0
Tritanopia (blue-blind)
#906879
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #905fa2;
/* rgb */ color: rgb(144, 95, 162);
/* oklch */ color: oklch(56.4% 0.114 316.6);
Tailwind
colors: {
  custom: {
    50: '#b28dbe',
    500: '#905fa2',
    950: '#000000',
  },
}
SCSS
$custom: #905fa2;
$custom-light: #b28dbe;
$custom-dark: #000000;
JSON
{
  "hex": "#905fa2",
  "rgb": {
    "r": 144,
    "g": 95,
    "b": 162
  },
  "hsl": {
    "h": 283.881,
    "s": 26.482,
    "l": 50.392
  },
  "oklch": {
    "l": 0.56393,
    "c": 0.11394,
    "h": 316.6
  },
  "luminance": 0.16722
}

Semantic roles & 50–950 ramp

primary
#905FA2
secondary
#A7BD9F
accent
#C3657E
background
#FBF8FB
surface
#F6F0F6
border
#D0CBD0
text
#110C12
muted
#807D81

Preview Lab

Preview with #905FA2

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

Preview Lab → · Contrast checker → · Palette generator →

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