#905CE8#905CE8

#905CE8 is a mid, highly saturated violet. Relative luminance 0.194; OKLCH L 60.1% C 0.203 H 297.0°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#905CE8
RGBrgb(144, 92, 232)
HSLhsl(262, 75%, 64%)
HSVhsv(262, 60%, 91%)
CMYKcmyk(37.9%, 60.3%, 0%, 9%)
CIE-LABlab(51.16, 50.52, -63.54)
CIE-LCHlch(51.16, 81.18, 308.49°)
OKLaboklab(60.06% 0.092 -0.1808)
OKLCHoklch(60.06% 0.203 297)
XYZxyz(29.8905, 19.4093, 78.4998)
Luminance0.1941 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#905CE8 #B4E85C
analogous
#5C6EE8 #905CE8 #D65CE8
triadic
#905CE8 #E8905C #5CE890
tetradic
#905CE8 #E85C6E #B4E85C #5CE8D6
square
#905CE8 #E85C6E #B4E85C #5CE8D6
split-complementary
#905CE8 #E8D65C #6EE85C
monochromatic
#5119B1 #6B26E0 #905CE8 #B592F0 #D9C7F7

Accessibility & contrast

On white

4.30
#905CE8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#905CE8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #905CE8
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##905CE8#FFFFFF#000000##000000
##905CE81.004.304.884.88
#FFFFFF4.301.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AEC
Deuteranopia (green-blind)
#1A78E5
Tritanopia (blue-blind)
#7B7B99
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #905ce8;
/* rgb */ color: rgb(144, 92, 232);
/* oklch */ color: oklch(60.1% 0.203 297.0);
Tailwind
colors: {
  custom: {
    50: '#b68cf0',
    500: '#905ce8',
    950: '#000000',
  },
}
SCSS
$custom: #905ce8;
$custom-light: #b68cf0;
$custom-dark: #000000;
JSON
{
  "hex": "#905ce8",
  "rgb": {
    "r": 144,
    "g": 92,
    "b": 232
  },
  "hsl": {
    "h": 262.286,
    "s": 75.269,
    "l": 63.529
  },
  "oklch": {
    "l": 0.60058,
    "c": 0.20282,
    "h": 297
  },
  "luminance": 0.1941
}

Semantic roles & 50–950 ramp

primary
#905CE8
secondary
#D6E9B7
accent
#D70E8D
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C17
muted
#817D85

Preview Lab

Preview with #905CE8

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

Preview Lab → · Contrast checker → · Palette generator →

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