#905FEB#905FEB

#905FEB is a mid, highly saturated violet. Relative luminance 0.201; OKLCH L 60.7% C 0.202 H 295.9°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#905FEB
RGBrgb(144, 95, 235)
HSLhsl(261, 78%, 65%)
HSVhsv(261, 60%, 92%)
CMYKcmyk(38.7%, 59.6%, 0%, 7.8%)
CIE-LABlab(51.96, 49.69, -63.93)
CIE-LCHlch(51.96, 80.97, 307.86°)
OKLaboklab(60.7% 0.0885 -0.1819)
OKLCHoklch(60.7% 0.202 295.9)
XYZxyz(30.5853, 20.1113, 80.8516)
Luminance0.2011 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#905FEB #BAEB5F
analogous
#5F74EB #905FEB #D65FEB
triadic
#905FEB #EB905F #5FEB90
tetradic
#905FEB #EB5F74 #BAEB5F #5FEBD6
square
#905FEB #EB5F74 #BAEB5F #5FEBD6
split-complementary
#905FEB #EBD65F #74EB5F
monochromatic
#5017B9 #6A29E4 #905FEB #B695F2 #DBCCF9

Accessibility & contrast

On white

4.18
#905FEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#905FEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #905FEB
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##905FEB#FFFFFF#000000##000000
##905FEB1.004.185.025.02
#FFFFFF4.181.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DF0
Deuteranopia (green-blind)
#1C7AE8
Tritanopia (blue-blind)
#797E9C
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #905feb;
/* rgb */ color: rgb(144, 95, 235);
/* oklch */ color: oklch(60.7% 0.202 295.9);
Tailwind
colors: {
  custom: {
    50: '#b68ef2',
    500: '#905feb',
    950: '#000000',
  },
}
SCSS
$custom: #905feb;
$custom-light: #b68ef2;
$custom-dark: #000000;
JSON
{
  "hex": "#905feb",
  "rgb": {
    "r": 144,
    "g": 95,
    "b": 235
  },
  "hsl": {
    "h": 261,
    "s": 77.778,
    "l": 64.706
  },
  "oklch": {
    "l": 0.60704,
    "c": 0.20229,
    "h": 295.9
  },
  "luminance": 0.20112
}

Semantic roles & 50–950 ramp

primary
#905FEB
secondary
#DAEBBB
accent
#DA0B92
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C17
muted
#817D85

Preview Lab

Preview with #905FEB

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

Preview Lab → · Contrast checker → · Palette generator →

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