#9F8FEA#9F8FEA

#9F8FEA is a light, vivid violet. Relative luminance 0.330; OKLCH L 70.1% C 0.131 H 290.7°. Best body text is #000000 at 7.59:1 contrast (WCAG AA passes).

Color values

HEX#9F8FEA
RGBrgb(159, 143, 234)
HSLhsl(251, 68%, 74%)
HSVhsv(251, 39%, 92%)
CMYKcmyk(32.1%, 38.9%, 0%, 8.2%)
CIE-LABlab(64.12, 26.08, -43.91)
CIE-LCHlch(64.12, 51.07, 300.70°)
OKLaboklab(70.1% 0.0464 -0.1229)
OKLCHoklch(70.1% 0.131 290.7)
XYZxyz(38.9680, 32.9555, 82.1339)
Luminance0.3296 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F8FEA #DAEA8F
analogous
#8FADEA #9F8FEA #CD8FEA
triadic
#9F8FEA #EA9F8F #8FEA9F
tetradic
#9F8FEA #EA8FAD #DAEA8F #8FEACD
square
#9F8FEA #EA8FAD #DAEA8F #8FEACD
split-complementary
#9F8FEA #EACD8F #ADEA8F
monochromatic
#4728D6 #735BE0 #9F8FEA #CBC3F4 #E9E5FA

Accessibility & contrast

On white

2.77
#9F8FEA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.59
#9F8FEA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9F8FEA
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F8FEA#FFFFFF#000000##000000
##9F8FEA1.002.777.597.59
#FFFFFF2.771.0021.0021.00
#0000007.5921.001.001.00
##0000007.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#749DEE
Deuteranopia (green-blind)
#7499E8
Tritanopia (blue-blind)
#8DA0B1
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #9f8fea;
/* rgb */ color: rgb(159, 143, 234);
/* oklch */ color: oklch(70.1% 0.131 290.7);
Tailwind
colors: {
  custom: {
    50: '#beb0f1',
    500: '#9f8fea',
    950: '#000000',
  },
}
SCSS
$custom: #9f8fea;
$custom-light: #beb0f1;
$custom-dark: #000000;
JSON
{
  "hex": "#9f8fea",
  "rgb": {
    "r": 159,
    "g": 143,
    "b": 234
  },
  "hsl": {
    "h": 250.549,
    "s": 68.421,
    "l": 73.922
  },
  "oklch": {
    "l": 0.70097,
    "c": 0.1314,
    "h": 290.7
  },
  "luminance": 0.32956
}

Semantic roles & 50–950 ramp

primary
#9F8FEA
secondary
#EDF2D9
accent
#D015AF
background
#FBFAFE
surface
#F7F4FD
border
#D0CED5
text
#121017
muted
#817F85

Preview Lab

Preview with #9F8FEA

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

Preview Lab → · Contrast checker → · Palette generator →

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