#905FE6#905FE6

#905FE6 is a mid, vivid violet. Relative luminance 0.198; OKLCH L 60.4% C 0.196 H 296.8°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#905FE6
RGBrgb(144, 95, 230)
HSLhsl(262, 73%, 64%)
HSVhsv(262, 59%, 90%)
CMYKcmyk(37.4%, 58.7%, 0%, 9.8%)
CIE-LABlab(51.64, 48.40, -61.64)
CIE-LCHlch(51.64, 78.37, 308.14°)
OKLaboklab(60.37% 0.0886 -0.1752)
OKLCHoklch(60.37% 0.196 296.8)
XYZxyz(29.8731, 19.8264, 77.1006)
Luminance0.1983 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#905FE6 #B5E65F
analogous
#5F71E6 #905FE6 #D35FE6
triadic
#905FE6 #E6905F #5FE690
tetradic
#905FE6 #E65F71 #B5E65F #5FE6D3
square
#905FE6 #E65F71 #B5E65F #5FE6D3
split-complementary
#905FE6 #E6D35F #71E65F
monochromatic
#511BAF #6B2ADE #905FE6 #B594EE #D9C9F7

Accessibility & contrast

On white

4.23
#905FE6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#905FE6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #905FE6
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##905FE6#FFFFFF#000000##000000
##905FE61.004.234.974.97
#FFFFFF4.231.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#037CEA
Deuteranopia (green-blind)
#2779E3
Tritanopia (blue-blind)
#7C7C9A
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #905fe6;
/* rgb */ color: rgb(144, 95, 230);
/* oklch */ color: oklch(60.4% 0.196 296.8);
Tailwind
colors: {
  custom: {
    50: '#b58eef',
    500: '#905fe6',
    950: '#000000',
  },
}
SCSS
$custom: #905fe6;
$custom-light: #b58eef;
$custom-dark: #000000;
JSON
{
  "hex": "#905fe6",
  "rgb": {
    "r": 144,
    "g": 95,
    "b": 230
  },
  "hsl": {
    "h": 261.778,
    "s": 72.973,
    "l": 63.725
  },
  "oklch": {
    "l": 0.60365,
    "c": 0.19633,
    "h": 296.8
  },
  "luminance": 0.19827
}

Semantic roles & 50–950 ramp

primary
#905FE6
secondary
#D7E8B9
accent
#D5108E
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #905FE6

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

Preview Lab → · Contrast checker → · Palette generator →

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