#B985F8#B985F8

#B985F8 is a light, vivid violet. Relative luminance 0.339; OKLCH L 71.4% C 0.169 H 303.3°. Best body text is #000000 at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#B985F8
RGBrgb(185, 133, 248)
HSLhsl(267, 89%, 75%)
HSVhsv(267, 46%, 97%)
CMYKcmyk(25.4%, 46.4%, 0%, 2.7%)
CIE-LABlab(64.86, 42.14, -50.31)
CIE-LCHlch(64.86, 65.63, 309.95°)
OKLaboklab(71.43% 0.0925 -0.1409)
OKLCHoklch(71.43% 0.169 303.3)
XYZxyz(45.3347, 33.8667, 92.9373)
Luminance0.3387 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B985F8 #C4F885
analogous
#858BF8 #B985F8 #F285F8
triadic
#B985F8 #F8B985 #85F8B9
tetradic
#B985F8 #F8858B #C4F885 #85F8F2
square
#B985F8 #F8858B #C4F885 #85F8F2
split-complementary
#B985F8 #F8F285 #8BF885
monochromatic
#7711F1 #984BF5 #B985F8 #DABFFB #EEE2FD

Accessibility & contrast

On white

2.70
#B985F8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.77
#B985F8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B985F8
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B985F8#FFFFFF#000000##000000
##B985F81.002.707.777.77
#FFFFFF2.701.0021.0021.00
#0000007.7721.001.001.00
##0000007.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#649CFC
Deuteranopia (green-blind)
#719DF5
Tritanopia (blue-blind)
#AE99B3
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #b985f8;
/* rgb */ color: rgb(185, 133, 248);
/* oklch */ color: oklch(71.4% 0.169 303.3);
Tailwind
colors: {
  custom: {
    50: '#d0a9fb',
    500: '#b985f8',
    950: '#000000',
  },
}
SCSS
$custom: #b985f8;
$custom-light: #d0a9fb;
$custom-dark: #000000;
JSON
{
  "hex": "#b985f8",
  "rgb": {
    "r": 185,
    "g": 133,
    "b": 248
  },
  "hsl": {
    "h": 267.13,
    "s": 89.147,
    "l": 74.706
  },
  "oklch": {
    "l": 0.71429,
    "c": 0.16856,
    "h": 303.3
  },
  "luminance": 0.33867
}

Semantic roles & 50–950 ramp

primary
#B985F8
secondary
#E7F5D6
accent
#E6007E
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#141017
muted
#837F85

Preview Lab

Preview with #B985F8

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

Preview Lab → · Contrast checker → · Palette generator →

#B985F8 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva