#905CEF#905CEF

#905CEF is a mid, highly saturated violet. Relative luminance 0.198; OKLCH L 60.5% C 0.211 H 295.7°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#905CEF
RGBrgb(144, 92, 239)
HSLhsl(261, 82%, 65%)
HSVhsv(261, 62%, 94%)
CMYKcmyk(39.7%, 61.5%, 0%, 6.3%)
CIE-LABlab(51.63, 52.32, -66.72)
CIE-LCHlch(51.63, 84.79, 308.11°)
OKLaboklab(60.54% 0.0916 -0.1901)
OKLCHoklch(60.54% 0.211 295.7)
XYZxyz(30.9047, 19.8149, 83.8410)
Luminance0.1982 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#905CEF #BBEF5C
analogous
#5C72EF #905CEF #D95CEF
triadic
#905CEF #EF905C #5CEF90
tetradic
#905CEF #EF5C72 #BBEF5C #5CEFD9
square
#905CEF #EF5C72 #BBEF5C #5CEFD9
split-complementary
#905CEF #EFD95C #72EF5C
monochromatic
#4F13BE #6A24EA #905CEF #B694F4 #DCCBFA

Accessibility & contrast

On white

4.23
#905CEF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#905CEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #905CEF
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##905CEF#FFFFFF#000000##000000
##905CEF1.004.234.964.96
#FFFFFF4.231.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CF4
Deuteranopia (green-blind)
#0079EC
Tritanopia (blue-blind)
#787D9D
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #905cef;
/* rgb */ color: rgb(144, 92, 239);
/* oklch */ color: oklch(60.5% 0.211 295.7);
Tailwind
colors: {
  custom: {
    50: '#b68df5',
    500: '#905cef',
    950: '#000000',
  },
}
SCSS
$custom: #905cef;
$custom-light: #b68df5;
$custom-dark: #000000;
JSON
{
  "hex": "#905cef",
  "rgb": {
    "r": 144,
    "g": 92,
    "b": 239
  },
  "hsl": {
    "h": 261.224,
    "s": 82.123,
    "l": 64.902
  },
  "oklch": {
    "l": 0.60543,
    "c": 0.21102,
    "h": 295.7
  },
  "luminance": 0.19816
}

Semantic roles & 50–950 ramp

primary
#905CEF
secondary
#DBECBA
accent
#DF0792
background
#FBF8FF
surface
#F6F0FE
border
#D0CBD6
text
#120C17
muted
#817D85

Preview Lab

Preview with #905CEF

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

Preview Lab → · Contrast checker → · Palette generator →

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