#9B74FC#9B74FC

#9B74FC is a light, vivid violet. Relative luminance 0.265; OKLCH L 66.1% C 0.195 H 293.6°. Best body text is #000000 at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#9B74FC
RGBrgb(155, 116, 252)
HSLhsl(257, 96%, 72%)
HSVhsv(257, 54%, 99%)
CMYKcmyk(38.5%, 54%, 0%, 1.2%)
CIE-LABlab(58.50, 45.06, -62.82)
CIE-LCHlch(58.50, 77.31, 305.65°)
OKLaboklab(66.09% 0.0779 -0.1783)
OKLCHoklch(66.09% 0.195 293.6)
XYZxyz(37.3290, 26.4867, 95.2223)
Luminance0.2649 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B74FC #D5FC74
analogous
#7491FC #9B74FC #DF74FC
triadic
#9B74FC #FC9B74 #74FC9B
tetradic
#9B74FC #FC7491 #D5FC74 #74FCDF
square
#9B74FC #FC7491 #D5FC74 #74FCDF
split-complementary
#9B74FC #FCDF74 #91FC74
monochromatic
#4905F0 #7038FB #9B74FC #C6B0FD #E9E1FE

Accessibility & contrast

On white

3.33
#9B74FC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.30
#9B74FC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B74FC
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B74FC#FFFFFF#000000##000000
##9B74FC1.003.336.306.30
#FFFFFF3.331.0021.0021.00
#0000006.3021.001.001.00
##0000006.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#348EFF
Deuteranopia (green-blind)
#3E8AF9
Tritanopia (blue-blind)
#8290AD
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #9b74fc;
/* rgb */ color: rgb(155, 116, 252);
/* oklch */ color: oklch(66.1% 0.195 293.6);
Tailwind
colors: {
  custom: {
    50: '#bd9dfe',
    500: '#9b74fc',
    950: '#000000',
  },
}
SCSS
$custom: #9b74fc;
$custom-light: #bd9dfe;
$custom-dark: #000000;
JSON
{
  "hex": "#9b74fc",
  "rgb": {
    "r": 155,
    "g": 116,
    "b": 252
  },
  "hsl": {
    "h": 257.206,
    "s": 95.775,
    "l": 72.157
  },
  "oklch": {
    "l": 0.66094,
    "c": 0.19458,
    "h": 293.6
  },
  "luminance": 0.26488
}

Semantic roles & 50–950 ramp

primary
#9B74FC
secondary
#EDF7D4
accent
#E600A4
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E18
muted
#827E86

Preview Lab

Preview with #9B74FC

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

Preview Lab → · Contrast checker → · Palette generator →

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