#905FD2#905FD2

#905FD2 is a mid, vivid violet. Relative luminance 0.188; OKLCH L 59.1% C 0.172 H 300.9°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#905FD2
RGBrgb(144, 95, 210)
HSLhsl(266, 56%, 60%)
HSVhsv(266, 55%, 82%)
CMYKcmyk(31.4%, 54.8%, 0%, 17.6%)
CIE-LABlab(50.41, 43.33, -52.28)
CIE-LCHlch(50.41, 67.90, 309.65°)
OKLaboklab(59.07% 0.0885 -0.1477)
OKLCHoklch(59.07% 0.172 300.9)
XYZxyz(27.2239, 18.7667, 63.1484)
Luminance0.1877 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#905FD2 #A1D25F
analogous
#5F68D2 #905FD2 #CA5FD2
triadic
#905FD2 #D2905F #5FD290
tetradic
#905FD2 #D25F68 #A1D25F #5FD2CA
square
#905FD2 #D25F68 #A1D25F #5FD2CA
split-complementary
#905FD2 #D2CA5F #68D25F
monochromatic
#54288F #7036BE #905FD2 #B18FDF #D2BFED

Accessibility & contrast

On white

4.42
#905FD2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#905FD2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #905FD2
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##905FD2#FFFFFF#000000##000000
##905FD21.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3177D6
Deuteranopia (green-blind)
#4277CF
Tritanopia (blue-blind)
#83768F
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #905fd2;
/* rgb */ color: rgb(144, 95, 210);
/* oklch */ color: oklch(59.1% 0.172 300.9);
Tailwind
colors: {
  custom: {
    50: '#b48ee0',
    500: '#905fd2',
    950: '#000000',
  },
}
SCSS
$custom: #905fd2;
$custom-light: #b48ee0;
$custom-dark: #000000;
JSON
{
  "hex": "#905fd2",
  "rgb": {
    "r": 144,
    "g": 95,
    "b": 210
  },
  "hsl": {
    "h": 265.565,
    "s": 56.098,
    "l": 59.804
  },
  "oklch": {
    "l": 0.59071,
    "c": 0.17221,
    "h": 300.9
  },
  "luminance": 0.18767
}

Semantic roles & 50–950 ramp

primary
#905FD2
secondary
#CADDB0
accent
#DF489F
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110C15
muted
#807D83

Preview Lab

Preview with #905FD2

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

Preview Lab → · Contrast checker → · Palette generator →

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