#905FC5#905FC5

#905FC5 is a mid, vivid violet. Relative luminance 0.181; OKLCH L 58.3% C 0.156 H 304.2°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#905FC5
RGBrgb(144, 95, 197)
HSLhsl(269, 47%, 57%)
HSVhsv(269, 52%, 77%)
CMYKcmyk(26.9%, 51.8%, 0%, 22.7%)
CIE-LABlab(49.67, 40.13, -46.02)
CIE-LCHlch(49.67, 61.06, 311.09°)
OKLaboklab(58.28% 0.0878 -0.1294)
OKLCHoklch(58.28% 0.156 304.2)
XYZxyz(25.6697, 18.1450, 54.9625)
Luminance0.1815 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#905FC5 #94C55F
analogous
#5F61C5 #905FC5 #C35FC5
triadic
#905FC5 #C5905F #5FC590
tetradic
#905FC5 #C55F61 #94C55F #5FC5C3
square
#905FC5 #C55F61 #94C55F #5FC5C3
split-complementary
#905FC5 #C5C35F #61C55F
monochromatic
#532D7C #713DA9 #905FC5 #AF8CD5 #CEB9E6

Accessibility & contrast

On white

4.54
#905FC5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#905FC5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #905FC5
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##905FC5#FFFFFF#000000##000000
##905FC51.004.544.634.63
#FFFFFF4.541.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E75C8
Deuteranopia (green-blind)
#4D76C2
Tritanopia (blue-blind)
#877289
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #905fc5;
/* rgb */ color: rgb(144, 95, 197);
/* oklch */ color: oklch(58.3% 0.156 304.2);
Tailwind
colors: {
  custom: {
    50: '#b38ed7',
    500: '#905fc5',
    950: '#000000',
  },
}
SCSS
$custom: #905fc5;
$custom-light: #b38ed7;
$custom-dark: #000000;
JSON
{
  "hex": "#905fc5",
  "rgb": {
    "r": 144,
    "g": 95,
    "b": 197
  },
  "hsl": {
    "h": 268.824,
    "s": 46.789,
    "l": 57.255
  },
  "oklch": {
    "l": 0.58283,
    "c": 0.15634,
    "h": 304.2
  },
  "luminance": 0.18145
}

Semantic roles & 50–950 ramp

primary
#905FC5
secondary
#C1D5AB
accent
#D65197
background
#FBF8FD
surface
#F6F0FA
border
#D0CBD3
text
#110C14
muted
#807D83

Preview Lab

Preview with #905FC5

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

Preview Lab → · Contrast checker → · Palette generator →

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