#905CF2#905CF2

#905CF2 is a mid, highly saturated violet. Relative luminance 0.200; OKLCH L 60.8% C 0.215 H 295.2°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#905CF2
RGBrgb(144, 92, 242)
HSLhsl(261, 85%, 65%)
HSVhsv(261, 62%, 95%)
CMYKcmyk(40.5%, 62%, 0%, 5.1%)
CIE-LABlab(51.83, 53.10, -68.06)
CIE-LCHlch(51.83, 86.33, 307.96°)
OKLaboklab(60.76% 0.0914 -0.1941)
OKLCHoklch(60.76% 0.215 295.2)
XYZxyz(31.3515, 19.9937, 86.1945)
Luminance0.1999 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#905CF2 #BEF25C
analogous
#5C73F2 #905CF2 #DB5CF2
triadic
#905CF2 #F2905C #5CF290
tetradic
#905CF2 #F25C73 #BEF25C #5CF2DB
square
#905CF2 #F25C73 #BEF25C #5CF2DB
split-complementary
#905CF2 #F2DB5C #73F25C
monochromatic
#4E10C4 #6923ED #905CF2 #B795F7 #DDCDFB

Accessibility & contrast

On white

4.20
#905CF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#905CF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #905CF2
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##905CF2#FFFFFF#000000##000000
##905CF21.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DF7
Deuteranopia (green-blind)
#0079EF
Tritanopia (blue-blind)
#777E9F
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #905cf2;
/* rgb */ color: rgb(144, 92, 242);
/* oklch */ color: oklch(60.8% 0.215 295.2);
Tailwind
colors: {
  custom: {
    50: '#b78df7',
    500: '#905cf2',
    950: '#000000',
  },
}
SCSS
$custom: #905cf2;
$custom-light: #b78df7;
$custom-dark: #000000;
JSON
{
  "hex": "#905cf2",
  "rgb": {
    "r": 144,
    "g": 92,
    "b": 242
  },
  "hsl": {
    "h": 260.8,
    "s": 85.227,
    "l": 65.49
  },
  "oklch": {
    "l": 0.60755,
    "c": 0.21451,
    "h": 295.2
  },
  "luminance": 0.19994
}

Semantic roles & 50–950 ramp

primary
#905CF2
secondary
#DDEEBC
accent
#E20495
background
#FBF8FF
surface
#F7F0FF
border
#D0CBD7
text
#120C17
muted
#817D85

Preview Lab

Preview with #905CF2

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

Preview Lab → · Contrast checker → · Palette generator →

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