#985CDB#985CDB

#985CDB is a mid, vivid violet. Relative luminance 0.194; OKLCH L 60.0% C 0.189 H 302.9°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#985CDB
RGBrgb(152, 92, 219)
HSLhsl(268, 64%, 61%)
HSVhsv(268, 58%, 86%)
CMYKcmyk(30.6%, 58%, 0%, 14.1%)
CIE-LABlab(51.20, 49.09, -56.09)
CIE-LCHlch(51.20, 74.54, 311.19°)
OKLaboklab(60.02% 0.1027 -0.1586)
OKLCHoklch(60.02% 0.189 302.9)
XYZxyz(29.5593, 19.4442, 69.1999)
Luminance0.1944 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#985CDB #9FDB5C
analogous
#5C5FDB #985CDB #D75CDB
triadic
#985CDB #DB985C #5CDB98
tetradic
#985CDB #DB5C5F #9FDB5C #5CDBD7
square
#985CDB #DB5C5F #9FDB5C #5CDBD7
split-complementary
#985CDB #DBD75C #5FDB5C
monochromatic
#5B229A #792DCD #985CDB #B88EE6 #D7C0F1

Accessibility & contrast

On white

4.30
#985CDB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.89
#985CDB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #985CDB
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##985CDB#FFFFFF#000000##000000
##985CDB1.004.304.894.89
#FFFFFF4.301.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#2179DF
Deuteranopia (green-blind)
#3D7AD8
Tritanopia (blue-blind)
#8B7693
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #985cdb;
/* rgb */ color: rgb(152, 92, 219);
/* oklch */ color: oklch(60.0% 0.189 302.9);
Tailwind
colors: {
  custom: {
    50: '#ba8de7',
    500: '#985cdb',
    950: '#000000',
  },
}
SCSS
$custom: #985cdb;
$custom-light: #ba8de7;
$custom-dark: #000000;
JSON
{
  "hex": "#985cdb",
  "rgb": {
    "r": 152,
    "g": 92,
    "b": 219
  },
  "hsl": {
    "h": 268.346,
    "s": 63.819,
    "l": 60.98
  },
  "oklch": {
    "l": 0.60021,
    "c": 0.18894,
    "h": 302.9
  },
  "luminance": 0.19444
}

Semantic roles & 50–950 ramp

primary
#985CDB
secondary
#CBE1B1
accent
#CC1A78
background
#FBF8FE
surface
#F7F0FC
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #985CDB

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

Preview Lab → · Contrast checker → · Palette generator →

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