#985FCB#985FCB

#985FCB is a mid, vivid violet. Relative luminance 0.192; OKLCH L 59.5% C 0.166 H 306.4°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#985FCB
RGBrgb(152, 95, 203)
HSLhsl(272, 51%, 58%)
HSVhsv(272, 53%, 80%)
CMYKcmyk(25.1%, 53.2%, 0%, 20.4%)
CIE-LABlab(50.89, 43.66, -47.47)
CIE-LCHlch(50.89, 64.50, 312.61°)
OKLaboklab(59.49% 0.0983 -0.1334)
OKLCHoklch(59.49% 0.166 306.4)
XYZxyz(27.8184, 19.1719, 58.7234)
Luminance0.1917 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#985FCB #92CB5F
analogous
#625FCB #985FCB #CB5FC8
triadic
#985FCB #CB985F #5FCB98
tetradic
#985FCB #CB625F #92CB5F #5FC8CB
square
#985FCB #CB625F #92CB5F #5FC8CB
split-complementary
#985FCB #C8CB5F #5FCB62
monochromatic
#5A2B85 #7A3AB3 #985FCB #B68DDA #D3BBE9

Accessibility & contrast

On white

4.34
#985FCB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#985FCB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #985FCB
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##985FCB#FFFFFF#000000##000000
##985FCB1.004.344.834.83
#FFFFFF4.341.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C77CF
Deuteranopia (green-blind)
#4F7AC8
Tritanopia (blue-blind)
#90738C
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #985fcb;
/* rgb */ color: rgb(152, 95, 203);
/* oklch */ color: oklch(59.5% 0.166 306.4);
Tailwind
colors: {
  custom: {
    50: '#b98edb',
    500: '#985fcb',
    950: '#000000',
  },
}
SCSS
$custom: #985fcb;
$custom-light: #b98edb;
$custom-dark: #000000;
JSON
{
  "hex": "#985fcb",
  "rgb": {
    "r": 152,
    "g": 95,
    "b": 203
  },
  "hsl": {
    "h": 271.667,
    "s": 50.943,
    "l": 58.431
  },
  "oklch": {
    "l": 0.5949,
    "c": 0.16572,
    "h": 306.4
  },
  "luminance": 0.19172
}

Semantic roles & 50–950 ramp

primary
#985FCB
secondary
#C2D8AD
accent
#DA4D90
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#120C15
muted
#817D83

Preview Lab

Preview with #985FCB

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

Preview Lab → · Contrast checker → · Palette generator →

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