#905FC8#905FC8

#905FC8 is a mid, vivid violet. Relative luminance 0.183; OKLCH L 58.5% C 0.160 H 303.4°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#905FC8
RGBrgb(144, 95, 200)
HSLhsl(268, 49%, 58%)
HSVhsv(268, 53%, 78%)
CMYKcmyk(28%, 52.5%, 0%, 21.6%)
CIE-LABlab(49.84, 40.86, -47.48)
CIE-LCHlch(49.84, 62.64, 310.71°)
OKLaboklab(58.46% 0.088 -0.1336)
OKLCHoklch(58.46% 0.16 303.4)
XYZxyz(26.0168, 18.2839, 56.7909)
Luminance0.1828 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#905FC8 #97C85F
analogous
#5F62C8 #905FC8 #C45FC8
triadic
#905FC8 #C8905F #5FC890
tetradic
#905FC8 #C85F62 #97C85F #5FC8C4
square
#905FC8 #C85F62 #97C85F #5FC8C4
split-complementary
#905FC8 #C8C45F #62C85F
monochromatic
#532C80 #713CAE #905FC8 #B08DD8 #CFBAE7

Accessibility & contrast

On white

4.51
#905FC8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#905FC8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #905FC8
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##905FC8#FFFFFF#000000##000000
##905FC81.004.514.664.66
#FFFFFF4.511.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C75CC
Deuteranopia (green-blind)
#4A76C5
Tritanopia (blue-blind)
#86738A
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #905fc8;
/* rgb */ color: rgb(144, 95, 200);
/* oklch */ color: oklch(58.5% 0.160 303.4);
Tailwind
colors: {
  custom: {
    50: '#b38ed9',
    500: '#905fc8',
    950: '#000000',
  },
}
SCSS
$custom: #905fc8;
$custom-light: #b38ed9;
$custom-dark: #000000;
JSON
{
  "hex": "#905fc8",
  "rgb": {
    "r": 144,
    "g": 95,
    "b": 200
  },
  "hsl": {
    "h": 268,
    "s": 48.837,
    "l": 57.843
  },
  "oklch": {
    "l": 0.58461,
    "c": 0.16,
    "h": 303.4
  },
  "luminance": 0.18284
}

Semantic roles & 50–950 ramp

primary
#905FC8
secondary
#C3D6AC
accent
#D84F98
background
#FBF8FD
surface
#F6F0FA
border
#D0CBD3
text
#110C15
muted
#807D83

Preview Lab

Preview with #905FC8

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

Preview Lab → · Contrast checker → · Palette generator →

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