#905AEC#905AEC

#905AEC is a mid, highly saturated violet. Relative luminance 0.193; OKLCH L 60.0% C 0.210 H 296.6°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#905AEC
RGBrgb(144, 90, 236)
HSLhsl(262, 79%, 64%)
HSVhsv(262, 62%, 93%)
CMYKcmyk(39%, 61.9%, 0%, 7.5%)
CIE-LABlab(51.03, 52.61, -65.99)
CIE-LCHlch(51.03, 84.40, 308.56°)
OKLaboklab(60.05% 0.094 -0.188)
OKLCHoklch(60.05% 0.21 296.6)
XYZxyz(30.2942, 19.2972, 81.4693)
Luminance0.1930 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#905AEC #B6EC5A
analogous
#5A6DEC #905AEC #D95AEC
triadic
#905AEC #EC905A #5AEC90
tetradic
#905AEC #EC5A6D #B6EC5A #5AECD9
square
#905AEC #EC5A6D #B6EC5A #5AECD9
split-complementary
#905AEC #ECD95A #6DEC5A
monochromatic
#5115B7 #6B23E6 #905AEC #B591F2 #DAC8F9

Accessibility & contrast

On white

4.32
#905AEC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#905AEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #905AEC
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##905AEC#FFFFFF#000000##000000
##905AEC1.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AF1
Deuteranopia (green-blind)
#0078E9
Tritanopia (blue-blind)
#797B9B
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #905aec;
/* rgb */ color: rgb(144, 90, 236);
/* oklch */ color: oklch(60.0% 0.210 296.6);
Tailwind
colors: {
  custom: {
    50: '#b68bf3',
    500: '#905aec',
    950: '#000000',
  },
}
SCSS
$custom: #905aec;
$custom-light: #b68bf3;
$custom-dark: #000000;
JSON
{
  "hex": "#905aec",
  "rgb": {
    "r": 144,
    "g": 90,
    "b": 236
  },
  "hsl": {
    "h": 262.192,
    "s": 79.348,
    "l": 63.922
  },
  "oklch": {
    "l": 0.60048,
    "c": 0.21017,
    "h": 296.6
  },
  "luminance": 0.19298
}

Semantic roles & 50–950 ramp

primary
#905AEC
secondary
#D8EBB7
accent
#DC0A8E
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C17
muted
#817D85

Preview Lab

Preview with #905AEC

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

Preview Lab → · Contrast checker → · Palette generator →

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