#905CEC#905CEC

#905CEC is a mid, highly saturated violet. Relative luminance 0.196; OKLCH L 60.3% C 0.208 H 296.3°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#905CEC
RGBrgb(144, 92, 236)
HSLhsl(262, 79%, 64%)
HSVhsv(262, 61%, 93%)
CMYKcmyk(39%, 61%, 0%, 7.5%)
CIE-LABlab(51.43, 51.55, -65.36)
CIE-LCHlch(51.43, 83.24, 308.26°)
OKLaboklab(60.33% 0.0918 -0.1861)
OKLCHoklch(60.33% 0.208 296.3)
XYZxyz(30.4651, 19.6391, 81.5263)
Luminance0.1964 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#905CEC #B8EC5C
analogous
#5C70EC #905CEC #D85CEC
triadic
#905CEC #EC905C #5CEC90
tetradic
#905CEC #EC5C70 #B8EC5C #5CECD8
square
#905CEC #EC5C70 #B8EC5C #5CECD8
split-complementary
#905CEC #ECD85C #70EC5C
monochromatic
#5015B8 #6B25E6 #905CEC #B593F2 #DBCAF9

Accessibility & contrast

On white

4.26
#905CEC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#905CEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #905CEC
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##905CEC#FFFFFF#000000##000000
##905CEC1.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BF1
Deuteranopia (green-blind)
#0B79E9
Tritanopia (blue-blind)
#797C9C
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #905cec;
/* rgb */ color: rgb(144, 92, 236);
/* oklch */ color: oklch(60.3% 0.208 296.3);
Tailwind
colors: {
  custom: {
    50: '#b68cf3',
    500: '#905cec',
    950: '#000000',
  },
}
SCSS
$custom: #905cec;
$custom-light: #b68cf3;
$custom-dark: #000000;
JSON
{
  "hex": "#905cec",
  "rgb": {
    "r": 144,
    "g": 92,
    "b": 236
  },
  "hsl": {
    "h": 261.667,
    "s": 79.121,
    "l": 64.314
  },
  "oklch": {
    "l": 0.60334,
    "c": 0.20751,
    "h": 296.3
  },
  "luminance": 0.1964
}

Semantic roles & 50–950 ramp

primary
#905CEC
secondary
#D9EBB9
accent
#DB0A90
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C17
muted
#817D85

Preview Lab

Preview with #905CEC

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

Preview Lab → · Contrast checker → · Palette generator →

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