#905CDB#905CDB

#905CDB is a mid, vivid violet. Relative luminance 0.187; OKLCH L 59.2% C 0.187 H 299.5°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#905CDB
RGBrgb(144, 92, 219)
HSLhsl(265, 64%, 61%)
HSVhsv(265, 58%, 86%)
CMYKcmyk(34.2%, 58%, 0%, 14.1%)
CIE-LABlab(50.33, 47.22, -57.53)
CIE-LCHlch(50.33, 74.43, 309.38°)
OKLaboklab(59.19% 0.0924 -0.1631)
OKLCHoklch(59.19% 0.187 299.5)
XYZxyz(28.1118, 18.6978, 69.1321)
Luminance0.1870 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#905CDB #A7DB5C
analogous
#5C67DB #905CDB #CF5CDB
triadic
#905CDB #DB905C #5CDB90
tetradic
#905CDB #DB5C67 #A7DB5C #5CDBCF
square
#905CDB #DB5C67 #A7DB5C #5CDBCF
split-complementary
#905CDB #DBCF5C #67DB5C
monochromatic
#53229A #6E2DCD #905CDB #B28EE6 #D4C0F1

Accessibility & contrast

On white

4.43
#905CDB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#905CDB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #905CDB
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##905CDB#FFFFFF#000000##000000
##905CDB1.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#1978DF
Deuteranopia (green-blind)
#3377D8
Tritanopia (blue-blind)
#807693
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #905cdb;
/* rgb */ color: rgb(144, 92, 219);
/* oklch */ color: oklch(59.2% 0.187 299.5);
Tailwind
colors: {
  custom: {
    50: '#b58ce7',
    500: '#905cdb',
    950: '#000000',
  },
}
SCSS
$custom: #905cdb;
$custom-light: #b58ce7;
$custom-dark: #000000;
JSON
{
  "hex": "#905cdb",
  "rgb": {
    "r": 144,
    "g": 92,
    "b": 219
  },
  "hsl": {
    "h": 264.567,
    "s": 63.819,
    "l": 60.98
  },
  "oklch": {
    "l": 0.59186,
    "c": 0.18744,
    "h": 299.5
  },
  "luminance": 0.18698
}

Semantic roles & 50–950 ramp

primary
#905CDB
secondary
#CEE1B1
accent
#CC1A83
background
#FBF8FE
surface
#F6F0FC
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #905CDB

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

Preview Lab → · Contrast checker → · Palette generator →

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