#9A3ECF#9A3ECF

#9A3ECF is a mid, highly saturated violet. Relative luminance 0.148; OKLCH L 55.6% C 0.217 H 310.2°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#9A3ECF
RGBrgb(154, 62, 207)
HSLhsl(278, 60%, 53%)
HSVhsv(278, 70%, 81%)
CMYKcmyk(25.6%, 70%, 0%, 18.8%)
CIE-LABlab(45.39, 61.25, -58.58)
CIE-LCHlch(45.39, 84.75, 316.28°)
OKLaboklab(55.63% 0.1401 -0.1657)
OKLCHoklch(55.63% 0.217 310.2)
XYZxyz(26.3093, 14.8208, 60.4941)
Luminance0.1482 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A3ECF #73CF3E
analogous
#513ECF #9A3ECF #CF3EBB
triadic
#9A3ECF #CF9A3E #3ECF9A
tetradic
#9A3ECF #CF513E #73CF3E #3EBBCF
square
#9A3ECF #CF513E #73CF3E #3EBBCF
split-complementary
#9A3ECF #BBCF3E #3ECF51
monochromatic
#551D75 #7929A6 #9A3ECF #B46FDB #CDA0E7

Accessibility & contrast

On white

5.30
#9A3ECF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#9A3ECF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A3ECF
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A3ECF#FFFFFF#000000##FFFFFF
##9A3ECF1.005.303.965.30
#FFFFFF5.301.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D3
Deuteranopia (green-blind)
#246DCC
Tritanopia (blue-blind)
#935E82
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #9a3ecf;
/* rgb */ color: rgb(154, 62, 207);
/* oklch */ color: oklch(55.6% 0.217 310.2);
Tailwind
colors: {
  custom: {
    50: '#bc7bde',
    500: '#9a3ecf',
    950: '#000000',
  },
}
SCSS
$custom: #9a3ecf;
$custom-light: #bc7bde;
$custom-dark: #000000;
JSON
{
  "hex": "#9a3ecf",
  "rgb": {
    "r": 154,
    "g": 62,
    "b": 207
  },
  "hsl": {
    "h": 278.069,
    "s": 60.166,
    "l": 52.745
  },
  "oklch": {
    "l": 0.55629,
    "c": 0.217,
    "h": 310.2
  },
  "luminance": 0.1482
}

Semantic roles & 50–950 ramp

primary
#9A3ECF
secondary
#ACD495
accent
#E3447F
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#120A15
muted
#817C83

Preview Lab

Preview with #9A3ECF

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

Preview Lab → · Contrast checker → · Palette generator →

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