#905CE2#905CE2

#905CE2 is a mid, vivid violet. Relative luminance 0.191; OKLCH L 59.7% C 0.196 H 298.1°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#905CE2
RGBrgb(144, 92, 226)
HSLhsl(263, 70%, 62%)
HSVhsv(263, 59%, 89%)
CMYKcmyk(36.3%, 59.3%, 0%, 11.4%)
CIE-LABlab(50.77, 48.99, -60.78)
CIE-LCHlch(50.77, 78.07, 308.87°)
OKLaboklab(59.65% 0.0922 -0.1727)
OKLCHoklch(59.65% 0.196 298.1)
XYZxyz(29.0528, 19.0742, 74.0878)
Luminance0.1908 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#905CE2 #AEE25C
analogous
#5C6BE2 #905CE2 #D35CE2
triadic
#905CE2 #E2905C #5CE290
tetradic
#905CE2 #E25C6B #AEE25C #5CE2D3
square
#905CE2 #E25C6B #AEE25C #5CE2D3
split-complementary
#905CE2 #E2D35C #6BE25C
monochromatic
#531EA6 #6D28D9 #905CE2 #B390EB #D7C4F4

Accessibility & contrast

On white

4.36
#905CE2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#905CE2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #905CE2
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##905CE2#FFFFFF#000000##000000
##905CE21.004.364.824.82
#FFFFFF4.361.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079E6
Deuteranopia (green-blind)
#2878DF
Tritanopia (blue-blind)
#7D7996
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #905ce2;
/* rgb */ color: rgb(144, 92, 226);
/* oklch */ color: oklch(59.7% 0.196 298.1);
Tailwind
colors: {
  custom: {
    50: '#b58cec',
    500: '#905ce2',
    950: '#000000',
  },
}
SCSS
$custom: #905ce2;
$custom-light: #b58cec;
$custom-dark: #000000;
JSON
{
  "hex": "#905ce2",
  "rgb": {
    "r": 144,
    "g": 92,
    "b": 226
  },
  "hsl": {
    "h": 263.284,
    "s": 69.792,
    "l": 62.353
  },
  "oklch": {
    "l": 0.59651,
    "c": 0.19575,
    "h": 298.1
  },
  "luminance": 0.19075
}

Semantic roles & 50–950 ramp

primary
#905CE2
secondary
#D2E5B4
accent
#D21488
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #905CE2

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

Preview Lab → · Contrast checker → · Palette generator →

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