#905FCE#905FCE

#905FCE is a mid, vivid violet. Relative luminance 0.186; OKLCH L 58.8% C 0.167 H 301.9°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#905FCE
RGBrgb(144, 95, 206)
HSLhsl(266, 53%, 59%)
HSVhsv(266, 54%, 81%)
CMYKcmyk(30.1%, 53.9%, 0%, 19.2%)
CIE-LABlab(50.18, 42.33, -50.37)
CIE-LCHlch(50.18, 65.80, 310.04°)
OKLaboklab(58.82% 0.0884 -0.1421)
OKLCHoklch(58.82% 0.167 301.9)
XYZxyz(26.7318, 18.5699, 60.5566)
Luminance0.1857 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#905FCE #9DCE5F
analogous
#5F66CE #905FCE #C75FCE
triadic
#905FCE #CE905F #5FCE90
tetradic
#905FCE #CE5F66 #9DCE5F #5FCEC7
square
#905FCE #CE5F66 #9DCE5F #5FCEC7
split-complementary
#905FCE #CEC75F #66CE5F
monochromatic
#542A89 #7038B8 #905FCE #B18EDC #D1BDEB

Accessibility & contrast

On white

4.45
#905FCE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#905FCE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #905FCE
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##905FCE#FFFFFF#000000##000000
##905FCE1.004.454.714.71
#FFFFFF4.451.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3677D2
Deuteranopia (green-blind)
#4577CB
Tritanopia (blue-blind)
#84748D
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #905fce;
/* rgb */ color: rgb(144, 95, 206);
/* oklch */ color: oklch(58.8% 0.167 301.9);
Tailwind
colors: {
  custom: {
    50: '#b48edd',
    500: '#905fce',
    950: '#000000',
  },
}
SCSS
$custom: #905fce;
$custom-light: #b48edd;
$custom-dark: #000000;
JSON
{
  "hex": "#905fce",
  "rgb": {
    "r": 144,
    "g": 95,
    "b": 206
  },
  "hsl": {
    "h": 266.486,
    "s": 53.11,
    "l": 59.02
  },
  "oklch": {
    "l": 0.58824,
    "c": 0.16733,
    "h": 301.9
  },
  "luminance": 0.1857
}

Semantic roles & 50–950 ramp

primary
#905FCE
secondary
#C7DAAF
accent
#DD4B9C
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110C15
muted
#807D83

Preview Lab

Preview with #905FCE

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

Preview Lab → · Contrast checker → · Palette generator →

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