#905FDB#905FDB

#905FDB is a mid, vivid violet. Relative luminance 0.192; OKLCH L 59.6% C 0.183 H 299.0°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#905FDB
RGBrgb(144, 95, 219)
HSLhsl(264, 63%, 62%)
HSVhsv(264, 57%, 86%)
CMYKcmyk(34.2%, 56.6%, 0%, 14.1%)
CIE-LABlab(50.95, 45.59, -56.53)
CIE-LCHlch(50.95, 72.63, 308.88°)
OKLaboklab(59.64% 0.0887 -0.1602)
OKLCHoklch(59.64% 0.183 299)
XYZxyz(28.3769, 19.2279, 69.2204)
Luminance0.1923 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#905FDB #AADB5F
analogous
#5F6CDB #905FDB #CE5FDB
triadic
#905FDB #DB905F #5FDB90
tetradic
#905FDB #DB5F6C #AADB5F #5FDBCE
square
#905FDB #DB5F6C #AADB5F #5FDBCE
split-complementary
#905FDB #DBCE5F #6CDB5F
monochromatic
#53239C #6E2ECE #905FDB #B391E6 #D5C3F1

Accessibility & contrast

On white

4.33
#905FDB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#905FDB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #905FDB
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##905FDB#FFFFFF#000000##000000
##905FDB1.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#2479DF
Deuteranopia (green-blind)
#3878D8
Tritanopia (blue-blind)
#807894
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #905fdb;
/* rgb */ color: rgb(144, 95, 219);
/* oklch */ color: oklch(59.6% 0.183 299.0);
Tailwind
colors: {
  custom: {
    50: '#b58ee7',
    500: '#905fdb',
    950: '#000000',
  },
}
SCSS
$custom: #905fdb;
$custom-light: #b58ee7;
$custom-dark: #000000;
JSON
{
  "hex": "#905fdb",
  "rgb": {
    "r": 144,
    "g": 95,
    "b": 219
  },
  "hsl": {
    "h": 263.71,
    "s": 63.265,
    "l": 61.569
  },
  "oklch": {
    "l": 0.59641,
    "c": 0.18312,
    "h": 299
  },
  "luminance": 0.19228
}

Semantic roles & 50–950 ramp

primary
#905FDB
secondary
#D0E2B4
accent
#CB1A85
background
#FBF8FE
surface
#F6F0FC
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #905FDB

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

Preview Lab → · Contrast checker → · Palette generator →

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