#9958FA#9958FA

#9958FA is a mid, highly saturated violet. Relative luminance 0.207; OKLCH L 61.7% C 0.230 H 297.7°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#9958FA
RGBrgb(153, 88, 250)
HSLhsl(264, 94%, 66%)
HSVhsv(264, 65%, 98%)
CMYKcmyk(38.8%, 64.8%, 0%, 2%)
CIE-LABlab(52.57, 58.96, -71.28)
CIE-LCHlch(52.57, 92.51, 309.59°)
OKLaboklab(61.68% 0.1067 -0.2032)
OKLCHoklch(61.68% 0.23 297.7)
XYZxyz(33.8775, 20.6533, 92.6256)
Luminance0.2065 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9958FA #B9FA58
analogous
#5868FA #9958FA #EA58FA
triadic
#9958FA #FA9958 #58FA99
tetradic
#9958FA #FA5868 #B9FA58 #58FAEA
square
#9958FA #FA5868 #B9FA58 #58FAEA
split-complementary
#9958FA #FAEA58 #68FA58
monochromatic
#5806D1 #751DF8 #9958FA #BD93FC #E2CFFE

Accessibility & contrast

On white

4.09
#9958FA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.13
#9958FA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9958FA
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9958FA#FFFFFF#000000##000000
##9958FA1.004.095.135.13
#FFFFFF4.091.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#007EFF
Deuteranopia (green-blind)
#007CF7
Tritanopia (blue-blind)
#827EA2
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #9958fa;
/* rgb */ color: rgb(153, 88, 250);
/* oklch */ color: oklch(61.7% 0.230 297.7);
Tailwind
colors: {
  custom: {
    50: '#bd8bfd',
    500: '#9958fa',
    950: '#000000',
  },
}
SCSS
$custom: #9958fa;
$custom-light: #bd8bfd;
$custom-dark: #000000;
JSON
{
  "hex": "#9958fa",
  "rgb": {
    "r": 153,
    "g": 88,
    "b": 250
  },
  "hsl": {
    "h": 264.074,
    "s": 94.186,
    "l": 66.275
  },
  "oklch": {
    "l": 0.61678,
    "c": 0.22953,
    "h": 297.7
  },
  "luminance": 0.20654
}

Semantic roles & 50–950 ramp

primary
#9958FA
secondary
#DCF1BC
accent
#E60089
background
#FCF8FF
surface
#F8F0FF
border
#D1CBD7
text
#130C18
muted
#827D86

Preview Lab

Preview with #9958FA

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

Preview Lab → · Contrast checker → · Palette generator →

#9958FA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva