#905FFC#905FFC

#905FFC is a mid, highly saturated violet. Relative luminance 0.211; OKLCH L 61.9% C 0.222 H 293.2°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#905FFC
RGBrgb(144, 95, 252)
HSLhsl(259, 96%, 68%)
HSVhsv(259, 62%, 99%)
CMYKcmyk(42.9%, 62.3%, 0%, 1.2%)
CIE-LABlab(53.10, 54.13, -71.57)
CIE-LCHlch(53.10, 89.73, 307.10°)
OKLaboklab(61.9% 0.0874 -0.2044)
OKLCHoklch(61.9% 0.222 293.2)
XYZxyz(33.1597, 21.1410, 94.4101)
Luminance0.2114 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#905FFC #CBFC5F
analogous
#5F7CFC #905FFC #DE5FFC
triadic
#905FFC #FC905F #5FFC90
tetradic
#905FFC #FC5F7C #CBFC5F #5FFCDE
square
#905FFC #FC5F7C #CBFC5F #5FFCDE
split-complementary
#905FFC #FCDE5F #7CFC5F
monochromatic
#4804DC #6623FB #905FFC #BA9BFD #E3D7FE

Accessibility & contrast

On white

4.02
#905FFC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.23
#905FFC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #905FFC
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##905FFC#FFFFFF#000000##000000
##905FFC1.004.025.235.23
#FFFFFF4.021.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0081FF
Deuteranopia (green-blind)
#007CF9
Tritanopia (blue-blind)
#7283A5
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #905ffc;
/* rgb */ color: rgb(144, 95, 252);
/* oklch */ color: oklch(61.9% 0.222 293.2);
Tailwind
colors: {
  custom: {
    50: '#b88ffe',
    500: '#905ffc',
    950: '#000000',
  },
}
SCSS
$custom: #905ffc;
$custom-light: #b88ffe;
$custom-dark: #000000;
JSON
{
  "hex": "#905ffc",
  "rgb": {
    "r": 144,
    "g": 95,
    "b": 252
  },
  "hsl": {
    "h": 258.726,
    "s": 96.319,
    "l": 68.039
  },
  "oklch": {
    "l": 0.61895,
    "c": 0.2223,
    "h": 293.2
  },
  "luminance": 0.21142
}

Semantic roles & 50–950 ramp

primary
#905FFC
secondary
#E4F3C3
accent
#E6009E
background
#FBF8FF
surface
#F7F0FF
border
#D0CBD7
text
#120C18
muted
#817D86

Preview Lab

Preview with #905FFC

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

Preview Lab → · Contrast checker → · Palette generator →

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