#985FCA#985FCA

#985FCA is a mid, vivid violet. Relative luminance 0.191; OKLCH L 59.4% C 0.165 H 306.7°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#985FCA
RGBrgb(152, 95, 202)
HSLhsl(272, 50%, 58%)
HSVhsv(272, 53%, 79%)
CMYKcmyk(24.8%, 53%, 0%, 20.8%)
CIE-LABlab(50.83, 43.43, -46.99)
CIE-LCHlch(50.83, 63.98, 312.74°)
OKLaboklab(59.43% 0.0983 -0.132)
OKLCHoklch(59.43% 0.165 306.7)
XYZxyz(27.6996, 19.1244, 58.0978)
Luminance0.1912 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#985FCA #91CA5F
analogous
#625FCA #985FCA #CA5FC6
triadic
#985FCA #CA985F #5FCA98
tetradic
#985FCA #CA625F #91CA5F #5FC6CA
square
#985FCA #CA625F #91CA5F #5FC6CA
split-complementary
#985FCA #C6CA5F #5FCA62
monochromatic
#5A2B83 #7A3BB1 #985FCA #B68DD9 #D3BBE8

Accessibility & contrast

On white

4.35
#985FCA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#985FCA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #985FCA
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##985FCA#FFFFFF#000000##000000
##985FCA1.004.354.824.82
#FFFFFF4.351.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D77CE
Deuteranopia (green-blind)
#4F79C7
Tritanopia (blue-blind)
#90728B
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #985fca;
/* rgb */ color: rgb(152, 95, 202);
/* oklch */ color: oklch(59.4% 0.165 306.7);
Tailwind
colors: {
  custom: {
    50: '#b98edb',
    500: '#985fca',
    950: '#000000',
  },
}
SCSS
$custom: #985fca;
$custom-light: #b98edb;
$custom-dark: #000000;
JSON
{
  "hex": "#985fca",
  "rgb": {
    "r": 152,
    "g": 95,
    "b": 202
  },
  "hsl": {
    "h": 271.963,
    "s": 50.235,
    "l": 58.235
  },
  "oklch": {
    "l": 0.59431,
    "c": 0.16454,
    "h": 306.7
  },
  "luminance": 0.19124
}

Semantic roles & 50–950 ramp

primary
#985FCA
secondary
#C1D8AD
accent
#DA4E8F
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#120C15
muted
#817D83

Preview Lab

Preview with #985FCA

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

Preview Lab → · Contrast checker → · Palette generator →

#985FCA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva