#905FC4#905FC4

#905FC4 is a mid, vivid violet. Relative luminance 0.181; OKLCH L 58.2% C 0.155 H 304.4°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#905FC4
RGBrgb(144, 95, 196)
HSLhsl(269, 46%, 57%)
HSVhsv(269, 52%, 77%)
CMYKcmyk(26.5%, 51.5%, 0%, 23.1%)
CIE-LABlab(49.62, 39.89, -45.53)
CIE-LCHlch(49.62, 60.53, 311.22°)
OKLaboklab(58.22% 0.0877 -0.1279)
OKLCHoklch(58.22% 0.155 304.4)
XYZxyz(25.5555, 18.0993, 54.3611)
Luminance0.1810 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#905FC4 #93C45F
analogous
#5F61C4 #905FC4 #C35FC4
triadic
#905FC4 #C4905F #5FC490
tetradic
#905FC4 #C45F61 #93C45F #5FC4C3
square
#905FC4 #C45F61 #93C45F #5FC4C3
split-complementary
#905FC4 #C4C35F #61C45F
monochromatic
#532D7B #713EA8 #905FC4 #AF8CD4 #CEB8E5

Accessibility & contrast

On white

4.55
#905FC4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#905FC4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #905FC4
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##905FC4#FFFFFF#000000##000000
##905FC41.004.554.624.62
#FFFFFF4.551.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #905fc4;
/* rgb */ color: rgb(144, 95, 196);
/* oklch */ color: oklch(58.2% 0.155 304.4);
Tailwind
colors: {
  custom: {
    50: '#b38ed6',
    500: '#905fc4',
    950: '#000000',
  },
}
SCSS
$custom: #905fc4;
$custom-light: #b38ed6;
$custom-dark: #000000;
JSON
{
  "hex": "#905fc4",
  "rgb": {
    "r": 144,
    "g": 95,
    "b": 196
  },
  "hsl": {
    "h": 269.109,
    "s": 46.119,
    "l": 57.059
  },
  "oklch": {
    "l": 0.58224,
    "c": 0.15511,
    "h": 304.4
  },
  "luminance": 0.18099
}

Semantic roles & 50–950 ramp

primary
#905FC4
secondary
#C0D4AB
accent
#D65296
background
#FBF8FD
surface
#F6F0FA
border
#D0CBD3
text
#110C14
muted
#807D83

Preview Lab

Preview with #905FC4

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

Preview Lab → · Contrast checker → · Palette generator →

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