#9875FC#9875FC

#9875FC is a light, vivid violet. Relative luminance 0.264; OKLCH L 66.0% C 0.193 H 292.2°. Best body text is #000000 at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#9875FC
RGBrgb(152, 117, 252)
HSLhsl(256, 96%, 72%)
HSVhsv(256, 54%, 99%)
CMYKcmyk(39.7%, 53.6%, 0%, 1.2%)
CIE-LABlab(58.44, 43.82, -62.93)
CIE-LCHlch(58.44, 76.68, 304.85°)
OKLaboklab(65.99% 0.073 -0.1787)
OKLCHoklch(65.99% 0.193 292.2)
XYZxyz(36.8761, 26.4253, 95.2343)
Luminance0.2643 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9875FC #D9FC75
analogous
#7595FC #9875FC #DC75FC
triadic
#9875FC #FC9875 #75FC98
tetradic
#9875FC #FC7595 #D9FC75 #75FCDC
square
#9875FC #FC7595 #D9FC75 #75FCDC
split-complementary
#9875FC #FCDC75 #95FC75
monochromatic
#4205F1 #6B39FB #9875FC #C5B1FD #E9E1FE

Accessibility & contrast

On white

3.34
#9875FC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.29
#9875FC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9875FC
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9875FC#FFFFFF#000000##000000
##9875FC1.003.346.296.29
#FFFFFF3.341.0021.0021.00
#0000006.2921.001.001.00
##0000006.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#358EFF
Deuteranopia (green-blind)
#3D8AF9
Tritanopia (blue-blind)
#7D91AD
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #9875fc;
/* rgb */ color: rgb(152, 117, 252);
/* oklch */ color: oklch(66.0% 0.193 292.2);
Tailwind
colors: {
  custom: {
    50: '#bb9efe',
    500: '#9875fc',
    950: '#000000',
  },
}
SCSS
$custom: #9875fc;
$custom-light: #bb9efe;
$custom-dark: #000000;
JSON
{
  "hex": "#9875fc",
  "rgb": {
    "r": 152,
    "g": 117,
    "b": 252
  },
  "hsl": {
    "h": 255.556,
    "s": 95.745,
    "l": 72.353
  },
  "oklch": {
    "l": 0.65985,
    "c": 0.19306,
    "h": 292.2
  },
  "luminance": 0.26426
}

Semantic roles & 50–950 ramp

primary
#9875FC
secondary
#EEF7D4
accent
#E600AA
background
#FBF9FF
surface
#F7F2FF
border
#D0CCD7
text
#120E18
muted
#817E86

Preview Lab

Preview with #9875FC

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

Preview Lab → · Contrast checker → · Palette generator →

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