#905CD7#905CD7

#905CD7 is a mid, vivid violet. Relative luminance 0.185; OKLCH L 58.9% C 0.183 H 300.4°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#905CD7
RGBrgb(144, 92, 215)
HSLhsl(265, 61%, 60%)
HSVhsv(265, 57%, 84%)
CMYKcmyk(33%, 57.2%, 0%, 15.7%)
CIE-LABlab(50.08, 46.22, -55.66)
CIE-LCHlch(50.08, 72.35, 309.71°)
OKLaboklab(58.93% 0.0924 -0.1576)
OKLCHoklch(58.93% 0.183 300.4)
XYZxyz(27.5916, 18.4897, 66.3920)
Luminance0.1849 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#905CD7 #A3D75C
analogous
#5C65D7 #905CD7 #CE5CD7
triadic
#905CD7 #D7905C #5CD790
tetradic
#905CD7 #D75C65 #A3D75C #5CD7CE
square
#905CD7 #D75C65 #A3D75C #5CD7CE
split-complementary
#905CD7 #D7CE5C #65D75C
monochromatic
#542494 #6F30C5 #905CD7 #B18DE3 #D3BEEF

Accessibility & contrast

On white

4.47
#905CD7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#905CD7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #905CD7
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##905CD7#FFFFFF#000000##000000
##905CD71.004.474.704.70
#FFFFFF4.471.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#2277DB
Deuteranopia (green-blind)
#3876D4
Tritanopia (blue-blind)
#817591
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #905cd7;
/* rgb */ color: rgb(144, 92, 215);
/* oklch */ color: oklch(58.9% 0.183 300.4);
Tailwind
colors: {
  custom: {
    50: '#b48ce4',
    500: '#905cd7',
    950: '#000000',
  },
}
SCSS
$custom: #905cd7;
$custom-light: #b48ce4;
$custom-dark: #000000;
JSON
{
  "hex": "#905cd7",
  "rgb": {
    "r": 144,
    "g": 92,
    "b": 215
  },
  "hsl": {
    "h": 265.366,
    "s": 60.591,
    "l": 60.196
  },
  "oklch": {
    "l": 0.58926,
    "c": 0.18268,
    "h": 300.4
  },
  "luminance": 0.1849
}

Semantic roles & 50–950 ramp

primary
#905CD7
secondary
#CBDFB0
accent
#C81D80
background
#FBF8FE
surface
#F6F0FC
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #905CD7

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

Preview Lab → · Contrast checker → · Palette generator →

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