#905FF2#905FF2

#905FF2 is a mid, highly saturated violet. Relative luminance 0.205; OKLCH L 61.2% C 0.211 H 294.7°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#905FF2
RGBrgb(144, 95, 242)
HSLhsl(260, 85%, 66%)
HSVhsv(260, 61%, 95%)
CMYKcmyk(40.5%, 60.7%, 0%, 5.1%)
CIE-LABlab(52.42, 51.51, -67.10)
CIE-LCHlch(52.42, 84.59, 307.51°)
OKLaboklab(61.19% 0.0881 -0.1912)
OKLCHoklch(61.19% 0.211 294.7)
XYZxyz(31.6166, 20.5238, 86.2829)
Luminance0.2052 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#905FF2 #C1F25F
analogous
#5F77F2 #905FF2 #D95FF2
triadic
#905FF2 #F2905F #5FF290
tetradic
#905FF2 #F25F77 #C1F25F #5FF2D9
square
#905FF2 #F25F77 #C1F25F #5FF2D9
split-complementary
#905FF2 #F2D95F #77F25F
monochromatic
#4D10C6 #6926ED #905FF2 #B798F7 #DFD0FB

Accessibility & contrast

On white

4.11
#905FF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.10
#905FF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #905FF2
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##905FF2#FFFFFF#000000##000000
##905FF21.004.115.105.10
#FFFFFF4.111.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#007EF7
Deuteranopia (green-blind)
#007BEF
Tritanopia (blue-blind)
#7680A0
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #905ff2;
/* rgb */ color: rgb(144, 95, 242);
/* oklch */ color: oklch(61.2% 0.211 294.7);
Tailwind
colors: {
  custom: {
    50: '#b78ef7',
    500: '#905ff2',
    950: '#000000',
  },
}
SCSS
$custom: #905ff2;
$custom-light: #b78ef7;
$custom-dark: #000000;
JSON
{
  "hex": "#905ff2",
  "rgb": {
    "r": 144,
    "g": 95,
    "b": 242
  },
  "hsl": {
    "h": 260,
    "s": 84.971,
    "l": 66.078
  },
  "oklch": {
    "l": 0.61187,
    "c": 0.21058,
    "h": 294.7
  },
  "luminance": 0.20525
}

Semantic roles & 50–950 ramp

primary
#905FF2
secondary
#DEEFBE
accent
#E10498
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#120C17
muted
#817D85

Preview Lab

Preview with #905FF2

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

Preview Lab → · Contrast checker → · Palette generator →

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