#905CF8#905CF8

#905CF8 is a mid, highly saturated violet. Relative luminance 0.204; OKLCH L 61.2% C 0.221 H 294.2°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#905CF8
RGBrgb(144, 92, 248)
HSLhsl(260, 92%, 67%)
HSVhsv(260, 63%, 97%)
CMYKcmyk(41.9%, 62.9%, 0%, 2.7%)
CIE-LABlab(52.24, 54.66, -70.74)
CIE-LCHlch(52.24, 89.40, 307.69°)
OKLaboklab(61.18% 0.0909 -0.2019)
OKLCHoklch(61.18% 0.221 294.2)
XYZxyz(32.2675, 20.3601, 91.0185)
Luminance0.2036 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#905CF8 #C4F85C
analogous
#5C76F8 #905CF8 #DE5CF8
triadic
#905CF8 #F8905C #5CF890
tetradic
#905CF8 #F85C76 #C4F85C #5CF8DE
square
#905CF8 #F85C76 #C4F85C #5CF8DE
split-complementary
#905CF8 #F8DE5C #76F85C
monochromatic
#4C09D1 #6821F5 #905CF8 #B897FB #E0D1FD

Accessibility & contrast

On white

4.14
#905CF8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#905CF8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #905CF8
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##905CF8#FFFFFF#000000##000000
##905CF81.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#007EFD
Deuteranopia (green-blind)
#007AF5
Tritanopia (blue-blind)
#7480A2
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #905cf8;
/* rgb */ color: rgb(144, 92, 248);
/* oklch */ color: oklch(61.2% 0.221 294.2);
Tailwind
colors: {
  custom: {
    50: '#b78dfb',
    500: '#905cf8',
    950: '#000000',
  },
}
SCSS
$custom: #905cf8;
$custom-light: #b78dfb;
$custom-dark: #000000;
JSON
{
  "hex": "#905cf8",
  "rgb": {
    "r": 144,
    "g": 92,
    "b": 248
  },
  "hsl": {
    "h": 260,
    "s": 91.765,
    "l": 66.667
  },
  "oklch": {
    "l": 0.61184,
    "c": 0.22146,
    "h": 294.2
  },
  "luminance": 0.20361
}

Semantic roles & 50–950 ramp

primary
#905CF8
secondary
#E0F1BF
accent
#E60099
background
#FBF8FF
surface
#F7F0FF
border
#D0CBD7
text
#120C18
muted
#817D86

Preview Lab

Preview with #905CF8

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

Preview Lab → · Contrast checker → · Palette generator →

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