#9875F7#9875F7

#9875F7 is a light, vivid violet. Relative luminance 0.261; OKLCH L 65.7% C 0.187 H 293.0°. Best body text is #000000 at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#9875F7
RGBrgb(152, 117, 247)
HSLhsl(256, 89%, 71%)
HSVhsv(256, 53%, 97%)
CMYKcmyk(38.5%, 52.6%, 0%, 3.1%)
CIE-LABlab(58.14, 42.49, -60.64)
CIE-LCHlch(58.14, 74.04, 305.02°)
OKLaboklab(65.67% 0.0728 -0.172)
OKLCHoklch(65.67% 0.187 293)
XYZxyz(36.0942, 26.1125, 91.1162)
Luminance0.2611 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9875F7 #D4F775
analogous
#7593F7 #9875F7 #D975F7
triadic
#9875F7 #F79875 #75F798
tetradic
#9875F7 #F77593 #D4F775 #75F7D9
square
#9875F7 #F77593 #D4F775 #75F7D9
split-complementary
#9875F7 #F7D975 #93F775
monochromatic
#470DE4 #6D3BF4 #9875F7 #C3AFFA #E9E2FD

Accessibility & contrast

On white

3.37
#9875F7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.22
#9875F7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9875F7
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9875F7#FFFFFF#000000##000000
##9875F71.003.376.226.22
#FFFFFF3.371.0021.0021.00
#0000006.2221.001.001.00
##0000006.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C8DFB
Deuteranopia (green-blind)
#4389F4
Tritanopia (blue-blind)
#8090AB
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #9875f7;
/* rgb */ color: rgb(152, 117, 247);
/* oklch */ color: oklch(65.7% 0.187 293.0);
Tailwind
colors: {
  custom: {
    50: '#bb9dfa',
    500: '#9875f7',
    950: '#000000',
  },
}
SCSS
$custom: #9875f7;
$custom-light: #bb9dfa;
$custom-dark: #000000;
JSON
{
  "hex": "#9875f7",
  "rgb": {
    "r": 152,
    "g": 117,
    "b": 247
  },
  "hsl": {
    "h": 256.154,
    "s": 89.041,
    "l": 71.373
  },
  "oklch": {
    "l": 0.65672,
    "c": 0.18677,
    "h": 293
  },
  "luminance": 0.26113
}

Semantic roles & 50–950 ramp

primary
#9875F7
secondary
#ECF5D3
accent
#E600A8
background
#FBF9FF
surface
#F7F2FF
border
#D0CCD7
text
#120E17
muted
#817E85

Preview Lab

Preview with #9875F7

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

Preview Lab → · Contrast checker → · Palette generator →

#9875F7 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva