#905FEF#905FEF

#905FEF is a mid, highly saturated violet. Relative luminance 0.203; OKLCH L 61.0% C 0.207 H 295.2°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#905FEF
RGBrgb(144, 95, 239)
HSLhsl(260, 82%, 65%)
HSVhsv(260, 60%, 94%)
CMYKcmyk(39.7%, 60.3%, 0%, 6.3%)
CIE-LABlab(52.23, 50.73, -65.75)
CIE-LCHlch(52.23, 83.04, 307.65°)
OKLaboklab(60.98% 0.0883 -0.1873)
OKLCHoklch(60.98% 0.207 295.2)
XYZxyz(31.1697, 20.3450, 83.9294)
Luminance0.2035 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#905FEF #BEEF5F
analogous
#5F76EF #905FEF #D85FEF
triadic
#905FEF #EF905F #5FEF90
tetradic
#905FEF #EF5F76 #BEEF5F #5FEFD8
square
#905FEF #EF5F76 #BEEF5F #5FEFD8
split-complementary
#905FEF #EFD85F #76EF5F
monochromatic
#4E13C0 #6927E9 #905FEF #B797F5 #DDCEFA

Accessibility & contrast

On white

4.14
#905FEF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#905FEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #905FEF
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##905FEF#FFFFFF#000000##000000
##905FEF1.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#007EF4
Deuteranopia (green-blind)
#0D7AEC
Tritanopia (blue-blind)
#787F9E
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #905fef;
/* rgb */ color: rgb(144, 95, 239);
/* oklch */ color: oklch(61.0% 0.207 295.2);
Tailwind
colors: {
  custom: {
    50: '#b68ef5',
    500: '#905fef',
    950: '#000000',
  },
}
SCSS
$custom: #905fef;
$custom-light: #b68ef5;
$custom-dark: #000000;
JSON
{
  "hex": "#905fef",
  "rgb": {
    "r": 144,
    "g": 95,
    "b": 239
  },
  "hsl": {
    "h": 260.417,
    "s": 81.818,
    "l": 65.49
  },
  "oklch": {
    "l": 0.60978,
    "c": 0.20703,
    "h": 295.2
  },
  "luminance": 0.20346
}

Semantic roles & 50–950 ramp

primary
#905FEF
secondary
#DDEDBD
accent
#DE0795
background
#FBF8FF
surface
#F6F0FE
border
#D0CBD6
text
#120C17
muted
#817D85

Preview Lab

Preview with #905FEF

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

Preview Lab → · Contrast checker → · Palette generator →

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