#905FE2#905FE2

#905FE2 is a mid, vivid violet. Relative luminance 0.196; OKLCH L 60.1% C 0.192 H 297.6°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#905FE2
RGBrgb(144, 95, 226)
HSLhsl(262, 69%, 63%)
HSVhsv(262, 58%, 89%)
CMYKcmyk(36.3%, 58%, 0%, 11.4%)
CIE-LABlab(51.39, 47.37, -59.80)
CIE-LCHlch(51.39, 76.29, 308.39°)
OKLaboklab(60.1% 0.0887 -0.1698)
OKLCHoklch(60.1% 0.192 297.6)
XYZxyz(29.3178, 19.6043, 74.1761)
Luminance0.1961 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#905FE2 #B1E25F
analogous
#5F6FE2 #905FE2 #D25FE2
triadic
#905FE2 #E2905F #5FE290
tetradic
#905FE2 #E25F6F #B1E25F #5FE2D2
square
#905FE2 #E25F6F #B1E25F #5FE2D2
split-complementary
#905FE2 #E2D25F #6FE25F
monochromatic
#521EA8 #6C2BD9 #905FE2 #B493EB #D8C7F5

Accessibility & contrast

On white

4.27
#905FE2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#905FE2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #905FE2
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##905FE2#FFFFFF#000000##000000
##905FE21.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#147BE6
Deuteranopia (green-blind)
#2E79DF
Tritanopia (blue-blind)
#7D7B97
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #905fe2;
/* rgb */ color: rgb(144, 95, 226);
/* oklch */ color: oklch(60.1% 0.192 297.6);
Tailwind
colors: {
  custom: {
    50: '#b58eec',
    500: '#905fe2',
    950: '#000000',
  },
}
SCSS
$custom: #905fe2;
$custom-light: #b58eec;
$custom-dark: #000000;
JSON
{
  "hex": "#905fe2",
  "rgb": {
    "r": 144,
    "g": 95,
    "b": 226
  },
  "hsl": {
    "h": 262.443,
    "s": 69.312,
    "l": 62.941
  },
  "oklch": {
    "l": 0.60099,
    "c": 0.19154,
    "h": 297.6
  },
  "luminance": 0.19605
}

Semantic roles & 50–950 ramp

primary
#905FE2
secondary
#D4E6B7
accent
#D1148B
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #905FE2

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

Preview Lab → · Contrast checker → · Palette generator →

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