#905AEB#905AEB

#905AEB is a mid, highly saturated violet. Relative luminance 0.192; OKLCH L 60.0% C 0.209 H 296.7°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#905AEB
RGBrgb(144, 90, 235)
HSLhsl(262, 78%, 64%)
HSVhsv(262, 62%, 92%)
CMYKcmyk(38.7%, 61.7%, 0%, 7.8%)
CIE-LABlab(50.97, 52.35, -65.54)
CIE-LCHlch(50.97, 83.88, 308.62°)
OKLaboklab(59.98% 0.0941 -0.1866)
OKLCHoklch(59.98% 0.209 296.7)
XYZxyz(30.1493, 19.2392, 80.7063)
Luminance0.1924 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#905AEB #B5EB5A
analogous
#5A6CEB #905AEB #D85AEB
triadic
#905AEB #EB905A #5AEB90
tetradic
#905AEB #EB5A6C #B5EB5A #5AEBD8
square
#905AEB #EB5A6C #B5EB5A #5AEBD8
split-complementary
#905AEB #EBD85A #6CEB5A
monochromatic
#5116B5 #6B23E4 #905AEB #B591F2 #D9C7F8

Accessibility & contrast

On white

4.33
#905AEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#905AEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #905AEB
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##905AEB#FFFFFF#000000##000000
##905AEB1.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AF0
Deuteranopia (green-blind)
#0378E8
Tritanopia (blue-blind)
#7A7A9A
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #905aeb;
/* rgb */ color: rgb(144, 90, 235);
/* oklch */ color: oklch(60.0% 0.209 296.7);
Tailwind
colors: {
  custom: {
    50: '#b68bf2',
    500: '#905aeb',
    950: '#000000',
  },
}
SCSS
$custom: #905aeb;
$custom-light: #b68bf2;
$custom-dark: #000000;
JSON
{
  "hex": "#905aeb",
  "rgb": {
    "r": 144,
    "g": 90,
    "b": 235
  },
  "hsl": {
    "h": 262.345,
    "s": 78.378,
    "l": 63.725
  },
  "oklch": {
    "l": 0.59978,
    "c": 0.20901,
    "h": 296.7
  },
  "luminance": 0.1924
}

Semantic roles & 50–950 ramp

primary
#905AEB
secondary
#D7EAB7
accent
#DB0B8D
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C17
muted
#817D85

Preview Lab

Preview with #905AEB

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

Preview Lab → · Contrast checker → · Palette generator →

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