#905DF7#905DF7

#905DF7 is a mid, highly saturated violet. Relative luminance 0.205; OKLCH L 61.3% C 0.219 H 294.2°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#905DF7
RGBrgb(144, 93, 247)
HSLhsl(260, 91%, 67%)
HSVhsv(260, 62%, 97%)
CMYKcmyk(41.7%, 62.3%, 0%, 3.1%)
CIE-LABlab(52.37, 53.87, -69.98)
CIE-LCHlch(52.37, 88.32, 307.59°)
OKLaboklab(61.25% 0.0899 -0.1997)
OKLCHoklch(61.25% 0.219 294.2)
XYZxyz(32.1999, 20.4726, 90.2327)
Luminance0.2047 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#905DF7 #C4F75D
analogous
#5D77F7 #905DF7 #DD5DF7
triadic
#905DF7 #F7905D #5DF790
tetradic
#905DF7 #F75D77 #C4F75D #5DF7DD
square
#905DF7 #F75D77 #C4F75D #5DF7DD
split-complementary
#905DF7 #F7DD5D #77F75D
monochromatic
#4C0ACF #6823F4 #905DF7 #B897FA #E0D2FD

Accessibility & contrast

On white

4.12
#905DF7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.09
#905DF7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #905DF7
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##905DF7#FFFFFF#000000##000000
##905DF71.004.125.095.09
#FFFFFF4.121.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#007EFC
Deuteranopia (green-blind)
#007AF4
Tritanopia (blue-blind)
#7480A2
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #905df7;
/* rgb */ color: rgb(144, 93, 247);
/* oklch */ color: oklch(61.3% 0.219 294.2);
Tailwind
colors: {
  custom: {
    50: '#b78dfb',
    500: '#905df7',
    950: '#000000',
  },
}
SCSS
$custom: #905df7;
$custom-light: #b78dfb;
$custom-dark: #000000;
JSON
{
  "hex": "#905df7",
  "rgb": {
    "r": 144,
    "g": 93,
    "b": 247
  },
  "hsl": {
    "h": 259.87,
    "s": 90.588,
    "l": 66.667
  },
  "oklch": {
    "l": 0.61253,
    "c": 0.21904,
    "h": 294.2
  },
  "luminance": 0.20473
}

Semantic roles & 50–950 ramp

primary
#905DF7
secondary
#E0F1BF
accent
#E60099
background
#FBF8FF
surface
#F7F0FF
border
#D0CBD7
text
#120C17
muted
#817D85

Preview Lab

Preview with #905DF7

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

Preview Lab → · Contrast checker → · Palette generator →

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