#9A5CF3#9A5CF3

#9A5CF3 is a mid, highly saturated violet. Relative luminance 0.210; OKLCH L 61.8% C 0.217 H 298.8°. Best body text is #000000 at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#9A5CF3
RGBrgb(154, 92, 243)
HSLhsl(265, 86%, 66%)
HSVhsv(265, 62%, 95%)
CMYKcmyk(36.6%, 62.1%, 0%, 4.7%)
CIE-LABlab(52.94, 55.41, -66.77)
CIE-LCHlch(52.94, 86.77, 309.69°)
OKLaboklab(61.82% 0.1043 -0.1899)
OKLCHoklch(61.82% 0.217 298.8)
XYZxyz(33.3272, 20.9950, 87.0732)
Luminance0.2099 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A5CF3 #B5F35C
analogous
#5C69F3 #9A5CF3 #E65CF3
triadic
#9A5CF3 #F39A5C #5CF39A
tetradic
#9A5CF3 #F35C69 #B5F35C #5CF3E6
square
#9A5CF3 #F35C69 #B5F35C #5CF3E6
split-complementary
#9A5CF3 #F3E65C #69F35C
monochromatic
#5A0FC6 #7723EF #9A5CF3 #BD95F7 #E1CEFB

Accessibility & contrast

On white

4.04
#9A5CF3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.20
#9A5CF3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9A5CF3
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A5CF3#FFFFFF#000000##000000
##9A5CF31.004.045.205.20
#FFFFFF4.041.0021.0021.00
#0000005.2021.001.001.00
##0000005.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#007EF8
Deuteranopia (green-blind)
#137DF0
Tritanopia (blue-blind)
#867D9F
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #9a5cf3;
/* rgb */ color: rgb(154, 92, 243);
/* oklch */ color: oklch(61.8% 0.217 298.8);
Tailwind
colors: {
  custom: {
    50: '#bd8df8',
    500: '#9a5cf3',
    950: '#000000',
  },
}
SCSS
$custom: #9a5cf3;
$custom-light: #bd8df8;
$custom-dark: #000000;
JSON
{
  "hex": "#9a5cf3",
  "rgb": {
    "r": 154,
    "g": 92,
    "b": 243
  },
  "hsl": {
    "h": 264.636,
    "s": 86.286,
    "l": 65.686
  },
  "oklch": {
    "l": 0.61824,
    "c": 0.21672,
    "h": 298.8
  },
  "luminance": 0.20995
}

Semantic roles & 50–950 ramp

primary
#9A5CF3
secondary
#DAEFBC
accent
#E30387
background
#FCF8FF
surface
#F8F0FF
border
#D1CBD7
text
#130C17
muted
#827D85

Preview Lab

Preview with #9A5CF3

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

Preview Lab → · Contrast checker → · Palette generator →

#9A5CF3 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva