#905CF5#905CF5

#905CF5 is a mid, highly saturated violet. Relative luminance 0.202; OKLCH L 61.0% C 0.218 H 294.7°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#905CF5
RGBrgb(144, 92, 245)
HSLhsl(260, 88%, 66%)
HSVhsv(260, 62%, 96%)
CMYKcmyk(41.2%, 62.4%, 0%, 3.9%)
CIE-LABlab(52.03, 53.88, -69.41)
CIE-LCHlch(52.03, 87.86, 307.82°)
OKLaboklab(60.97% 0.0912 -0.198)
OKLCHoklch(60.97% 0.218 294.7)
XYZxyz(31.8058, 20.1754, 88.5870)
Luminance0.2018 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#905CF5 #C1F55C
analogous
#5C74F5 #905CF5 #DC5CF5
triadic
#905CF5 #F5905C #5CF590
tetradic
#905CF5 #F55C74 #C1F55C #5CF5DC
square
#905CF5 #F55C74 #C1F55C #5CF5DC
split-complementary
#905CF5 #F5DC5C #74F55C
monochromatic
#4D0CCA #6922F1 #905CF5 #B796F9 #DFCFFC

Accessibility & contrast

On white

4.17
#905CF5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#905CF5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #905CF5
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##905CF5#FFFFFF#000000##000000
##905CF51.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DFA
Deuteranopia (green-blind)
#007AF2
Tritanopia (blue-blind)
#757FA0
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #905cf5;
/* rgb */ color: rgb(144, 92, 245);
/* oklch */ color: oklch(61.0% 0.218 294.7);
Tailwind
colors: {
  custom: {
    50: '#b78df9',
    500: '#905cf5',
    950: '#000000',
  },
}
SCSS
$custom: #905cf5;
$custom-light: #b78df9;
$custom-dark: #000000;
JSON
{
  "hex": "#905cf5",
  "rgb": {
    "r": 144,
    "g": 92,
    "b": 245
  },
  "hsl": {
    "h": 260.392,
    "s": 88.439,
    "l": 66.078
  },
  "oklch": {
    "l": 0.60968,
    "c": 0.218,
    "h": 294.7
  },
  "luminance": 0.20176
}

Semantic roles & 50–950 ramp

primary
#905CF5
secondary
#DEF0BD
accent
#E50097
background
#FBF8FF
surface
#F7F0FF
border
#D0CBD7
text
#120C17
muted
#817D85

Preview Lab

Preview with #905CF5

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

Preview Lab → · Contrast checker → · Palette generator →

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