#9B74EF#9B74EF

#9B74EF is a light, vivid violet. Relative luminance 0.257; OKLCH L 65.3% C 0.178 H 295.7°. Best body text is #000000 at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#9B74EF
RGBrgb(155, 116, 239)
HSLhsl(259, 79%, 70%)
HSVhsv(259, 51%, 94%)
CMYKcmyk(35.1%, 51.5%, 0%, 6.3%)
CIE-LABlab(57.74, 41.68, -56.83)
CIE-LCHlch(57.74, 70.47, 306.26°)
OKLaboklab(65.29% 0.0773 -0.1607)
OKLCHoklch(65.29% 0.178 295.7)
XYZxyz(35.3390, 25.6907, 84.7416)
Luminance0.2569 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B74EF #C8EF74
analogous
#748BEF #9B74EF #D874EF
triadic
#9B74EF #EF9B74 #74EF9B
tetradic
#9B74EF #EF748B #C8EF74 #74EFD8
square
#9B74EF #EF748B #C8EF74 #74EFD8
split-complementary
#9B74EF #EFD874 #8BEF74
monochromatic
#5318D1 #743DE9 #9B74EF #C2ABF5 #EAE2FC

Accessibility & contrast

On white

3.42
#9B74EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.14
#9B74EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B74EF
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B74EF#FFFFFF#000000##000000
##9B74EF1.003.426.146.14
#FFFFFF3.421.0021.0021.00
#0000006.1421.001.001.00
##0000006.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#438CF3
Deuteranopia (green-blind)
#4D89EC
Tritanopia (blue-blind)
#878CA7
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #9b74ef;
/* rgb */ color: rgb(155, 116, 239);
/* oklch */ color: oklch(65.3% 0.178 295.7);
Tailwind
colors: {
  custom: {
    50: '#bc9df5',
    500: '#9b74ef',
    950: '#000000',
  },
}
SCSS
$custom: #9b74ef;
$custom-light: #bc9df5;
$custom-dark: #000000;
JSON
{
  "hex": "#9b74ef",
  "rgb": {
    "r": 155,
    "g": 116,
    "b": 239
  },
  "hsl": {
    "h": 259.024,
    "s": 79.355,
    "l": 69.608
  },
  "oklch": {
    "l": 0.65292,
    "c": 0.17835,
    "h": 295.7
  },
  "luminance": 0.25691
}

Semantic roles & 50–950 ramp

primary
#9B74EF
secondary
#E6F1CE
accent
#DC0A99
background
#FBF9FF
surface
#F7F2FE
border
#D0CCD6
text
#120E17
muted
#817E85

Preview Lab

Preview with #9B74EF

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

Preview Lab → · Contrast checker → · Palette generator →

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