#905CEA#905CEA

#905CEA is a mid, highly saturated violet. Relative luminance 0.195; OKLCH L 60.2% C 0.205 H 296.6°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#905CEA
RGBrgb(144, 92, 234)
HSLhsl(262, 77%, 64%)
HSVhsv(262, 61%, 92%)
CMYKcmyk(38.5%, 60.7%, 0%, 8.2%)
CIE-LABlab(51.29, 51.04, -64.45)
CIE-LCHlch(51.29, 82.21, 308.38°)
OKLaboklab(60.2% 0.0919 -0.1834)
OKLCHoklch(60.2% 0.205 296.6)
XYZxyz(30.1762, 19.5236, 80.0045)
Luminance0.1952 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#905CEA #B6EA5C
analogous
#5C6FEA #905CEA #D75CEA
triadic
#905CEA #EA905C #5CEA90
tetradic
#905CEA #EA5C6F #B6EA5C #5CEAD7
square
#905CEA #EA5C6F #B6EA5C #5CEAD7
split-complementary
#905CEA #EAD75C #6FEA5C
monochromatic
#5117B4 #6B26E3 #905CEA #B592F1 #DAC8F8

Accessibility & contrast

On white

4.28
#905CEA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#905CEA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #905CEA
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##905CEA#FFFFFF#000000##000000
##905CEA1.004.284.904.90
#FFFFFF4.281.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BEF
Deuteranopia (green-blind)
#1478E7
Tritanopia (blue-blind)
#7A7B9A
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #905cea;
/* rgb */ color: rgb(144, 92, 234);
/* oklch */ color: oklch(60.2% 0.205 296.6);
Tailwind
colors: {
  custom: {
    50: '#b68cf2',
    500: '#905cea',
    950: '#000000',
  },
}
SCSS
$custom: #905cea;
$custom-light: #b68cf2;
$custom-dark: #000000;
JSON
{
  "hex": "#905cea",
  "rgb": {
    "r": 144,
    "g": 92,
    "b": 234
  },
  "hsl": {
    "h": 261.972,
    "s": 77.174,
    "l": 63.922
  },
  "oklch": {
    "l": 0.60196,
    "c": 0.20517,
    "h": 296.6
  },
  "luminance": 0.19524
}

Semantic roles & 50–950 ramp

primary
#905CEA
secondary
#D8EAB8
accent
#D90C8E
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C17
muted
#817D85

Preview Lab

Preview with #905CEA

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

Preview Lab → · Contrast checker → · Palette generator →

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