#905FC9#905FC9

#905FC9 is a mid, vivid violet. Relative luminance 0.183; OKLCH L 58.5% C 0.161 H 303.1°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#905FC9
RGBrgb(144, 95, 201)
HSLhsl(268, 50%, 58%)
HSVhsv(268, 53%, 79%)
CMYKcmyk(28.4%, 52.7%, 0%, 21.2%)
CIE-LABlab(49.89, 41.10, -47.96)
CIE-LCHlch(49.89, 63.16, 310.60°)
OKLaboklab(58.52% 0.0881 -0.135)
OKLCHoklch(58.52% 0.161 303.1)
XYZxyz(26.1341, 18.3308, 57.4084)
Luminance0.1833 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#905FC9 #98C95F
analogous
#5F63C9 #905FC9 #C55FC9
triadic
#905FC9 #C9905F #5FC990
tetradic
#905FC9 #C95F63 #98C95F #5FC9C5
square
#905FC9 #C95F63 #98C95F #5FC9C5
split-complementary
#905FC9 #C9C55F #63C95F
monochromatic
#542C82 #713BB0 #905FC9 #B08DD8 #CFBBE8

Accessibility & contrast

On white

4.50
#905FC9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.67
#905FC9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #905FC9
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##905FC9#FFFFFF#000000##000000
##905FC91.004.504.674.67
#FFFFFF4.501.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B76CD
Deuteranopia (green-blind)
#4A76C6
Tritanopia (blue-blind)
#86738B
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #905fc9;
/* rgb */ color: rgb(144, 95, 201);
/* oklch */ color: oklch(58.5% 0.161 303.1);
Tailwind
colors: {
  custom: {
    50: '#b38eda',
    500: '#905fc9',
    950: '#000000',
  },
}
SCSS
$custom: #905fc9;
$custom-light: #b38eda;
$custom-dark: #000000;
JSON
{
  "hex": "#905fc9",
  "rgb": {
    "r": 144,
    "g": 95,
    "b": 201
  },
  "hsl": {
    "h": 267.736,
    "s": 49.533,
    "l": 58.039
  },
  "oklch": {
    "l": 0.58521,
    "c": 0.16123,
    "h": 303.1
  },
  "luminance": 0.18331
}

Semantic roles & 50–950 ramp

primary
#905FC9
secondary
#C3D7AD
accent
#D94F99
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110C15
muted
#807D83

Preview Lab

Preview with #905FC9

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

Preview Lab → · Contrast checker → · Palette generator →

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