#905FEC#905FEC

#905FEC is a mid, highly saturated violet. Relative luminance 0.202; OKLCH L 60.8% C 0.203 H 295.8°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#905FEC
RGBrgb(144, 95, 236)
HSLhsl(261, 79%, 65%)
HSVhsv(261, 60%, 93%)
CMYKcmyk(39%, 59.7%, 0%, 7.5%)
CIE-LABlab(52.03, 49.95, -64.39)
CIE-LCHlch(52.03, 81.49, 307.80°)
OKLaboklab(60.77% 0.0884 -0.1833)
OKLCHoklch(60.77% 0.203 295.8)
XYZxyz(30.7302, 20.1692, 81.6146)
Luminance0.2017 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#905FEC #BBEC5F
analogous
#5F75EC #905FEC #D65FEC
triadic
#905FEC #EC905F #5FEC90
tetradic
#905FEC #EC5F75 #BBEC5F #5FECD6
square
#905FEC #EC5F75 #BBEC5F #5FECD6
split-complementary
#905FEC #ECD65F #75EC5F
monochromatic
#4F16BA #6A28E6 #905FEC #B696F2 #DCCCF9

Accessibility & contrast

On white

4.17
#905FEC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#905FEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #905FEC
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##905FEC#FFFFFF#000000##000000
##905FEC1.004.175.035.03
#FFFFFF4.171.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DF1
Deuteranopia (green-blind)
#197AE9
Tritanopia (blue-blind)
#797E9D
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #905fec;
/* rgb */ color: rgb(144, 95, 236);
/* oklch */ color: oklch(60.8% 0.203 295.8);
Tailwind
colors: {
  custom: {
    50: '#b68ef3',
    500: '#905fec',
    950: '#000000',
  },
}
SCSS
$custom: #905fec;
$custom-light: #b68ef3;
$custom-dark: #000000;
JSON
{
  "hex": "#905fec",
  "rgb": {
    "r": 144,
    "g": 95,
    "b": 236
  },
  "hsl": {
    "h": 260.851,
    "s": 78.771,
    "l": 64.902
  },
  "oklch": {
    "l": 0.60772,
    "c": 0.20348,
    "h": 295.8
  },
  "luminance": 0.2017
}

Semantic roles & 50–950 ramp

primary
#905FEC
secondary
#DBEBBB
accent
#DB0A93
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C17
muted
#817D85

Preview Lab

Preview with #905FEC

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

Preview Lab → · Contrast checker → · Palette generator →

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