#905CE6#905CE6

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

Color values

HEX#905CE6
RGBrgb(144, 92, 230)
HSLhsl(263, 73%, 63%)
HSVhsv(263, 60%, 90%)
CMYKcmyk(37.4%, 60%, 0%, 9.8%)
CIE-LABlab(51.03, 50.01, -62.62)
CIE-LCHlch(51.03, 80.14, 308.61°)
OKLaboklab(59.92% 0.0921 -0.1781)
OKLCHoklch(59.92% 0.2 297.3)
XYZxyz(29.6080, 19.2963, 77.0122)
Luminance0.1930 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#905CE6 #B2E65C
analogous
#5C6DE6 #905CE6 #D55CE6
triadic
#905CE6 #E6905C #5CE690
tetradic
#905CE6 #E65C6D #B2E65C #5CE6D5
square
#905CE6 #E65C6D #B2E65C #5CE6D5
split-complementary
#905CE6 #E6D55C #6DE65C
monochromatic
#521BAD #6C27DE #905CE6 #B491EE #D8C6F6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##905CE6#FFFFFF#000000##000000
##905CE61.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)
#007AEA
Deuteranopia (green-blind)
#2078E3
Tritanopia (blue-blind)
#7C7A98
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #905ce6;
/* rgb */ color: rgb(144, 92, 230);
/* oklch */ color: oklch(59.9% 0.200 297.3);
Tailwind
colors: {
  custom: {
    50: '#b68cef',
    500: '#905ce6',
    950: '#000000',
  },
}
SCSS
$custom: #905ce6;
$custom-light: #b68cef;
$custom-dark: #000000;
JSON
{
  "hex": "#905ce6",
  "rgb": {
    "r": 144,
    "g": 92,
    "b": 230
  },
  "hsl": {
    "h": 262.609,
    "s": 73.404,
    "l": 63.137
  },
  "oklch": {
    "l": 0.59921,
    "c": 0.20047,
    "h": 297.3
  },
  "luminance": 0.19297
}

Semantic roles & 50–950 ramp

primary
#905CE6
secondary
#D5E8B6
accent
#D6108B
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #905CE6

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

Preview Lab → · Contrast checker → · Palette generator →

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