#9B3ECF#9B3ECF

#9B3ECF is a mid, highly saturated violet. Relative luminance 0.149; OKLCH L 55.8% C 0.217 H 310.6°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#9B3ECF
RGBrgb(155, 62, 207)
HSLhsl(278, 60%, 53%)
HSVhsv(278, 70%, 81%)
CMYKcmyk(25.1%, 70%, 0%, 18.8%)
CIE-LABlab(45.52, 61.46, -58.35)
CIE-LCHlch(45.52, 84.74, 316.49°)
OKLaboklab(55.75% 0.1414 -0.165)
OKLCHoklch(55.75% 0.217 310.6)
XYZxyz(26.5005, 14.9194, 60.5031)
Luminance0.1492 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B3ECF #72CF3E
analogous
#533ECF #9B3ECF #CF3EBA
triadic
#9B3ECF #CF9B3E #3ECF9B
tetradic
#9B3ECF #CF533E #72CF3E #3EBACF
square
#9B3ECF #CF533E #72CF3E #3EBACF
split-complementary
#9B3ECF #BACF3E #3ECF53
monochromatic
#561D75 #7A29A6 #9B3ECF #B46FDB #CEA0E7

Accessibility & contrast

On white

5.27
#9B3ECF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#9B3ECF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B3ECF
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B3ECF#FFFFFF#000000##FFFFFF
##9B3ECF1.005.273.985.27
#FFFFFF5.271.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D3
Deuteranopia (green-blind)
#266DCC
Tritanopia (blue-blind)
#945E82
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #9b3ecf;
/* rgb */ color: rgb(155, 62, 207);
/* oklch */ color: oklch(55.8% 0.217 310.6);
Tailwind
colors: {
  custom: {
    50: '#bd7bde',
    500: '#9b3ecf',
    950: '#000000',
  },
}
SCSS
$custom: #9b3ecf;
$custom-light: #bd7bde;
$custom-dark: #000000;
JSON
{
  "hex": "#9b3ecf",
  "rgb": {
    "r": 155,
    "g": 62,
    "b": 207
  },
  "hsl": {
    "h": 278.483,
    "s": 60.166,
    "l": 52.745
  },
  "oklch": {
    "l": 0.55754,
    "c": 0.2173,
    "h": 310.6
  },
  "luminance": 0.14919
}

Semantic roles & 50–950 ramp

primary
#9B3ECF
secondary
#ACD495
accent
#E3447D
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130A15
muted
#827C83

Preview Lab

Preview with #9B3ECF

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

Preview Lab → · Contrast checker → · Palette generator →

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