#B985F4#B985F4

#B985F4 is a light, vivid violet. Relative luminance 0.336; OKLCH L 71.2% C 0.164 H 304.2°. Best body text is #000000 at 7.72:1 contrast (WCAG AA passes).

Color values

HEX#B985F4
RGBrgb(185, 133, 244)
HSLhsl(268, 83%, 74%)
HSVhsv(268, 45%, 96%)
CMYKcmyk(24.2%, 45.5%, 0%, 4.3%)
CIE-LABlab(64.66, 41.21, -48.42)
CIE-LCHlch(64.66, 63.59, 310.40°)
OKLaboklab(71.22% 0.092 -0.1354)
OKLCHoklch(71.22% 0.164 304.2)
XYZxyz(44.7208, 33.6212, 89.7040)
Luminance0.3362 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B985F4 #C0F485
analogous
#8589F4 #B985F4 #F185F4
triadic
#B985F4 #F4B985 #85F4B9
tetradic
#B985F4 #F48589 #C0F485 #85F4F1
square
#B985F4 #F48589 #C0F485 #85F4F1
split-complementary
#B985F4 #F4F185 #89F485
monochromatic
#7915EA #994DEF #B985F4 #D9BDF9 #EFE3FC

Accessibility & contrast

On white

2.72
#B985F4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.72
#B985F4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B985F4
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B985F4#FFFFFF#000000##000000
##B985F41.002.727.727.72
#FFFFFF2.721.0021.0021.00
#0000007.7221.001.001.00
##0000007.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#679BF8
Deuteranopia (green-blind)
#749DF1
Tritanopia (blue-blind)
#AF98B1
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #b985f4;
/* rgb */ color: rgb(185, 133, 244);
/* oklch */ color: oklch(71.2% 0.164 304.2);
Tailwind
colors: {
  custom: {
    50: '#d0a9f8',
    500: '#b985f4',
    950: '#000000',
  },
}
SCSS
$custom: #b985f4;
$custom-light: #d0a9f8;
$custom-dark: #000000;
JSON
{
  "hex": "#b985f4",
  "rgb": {
    "r": 185,
    "g": 133,
    "b": 244
  },
  "hsl": {
    "h": 268.108,
    "s": 83.459,
    "l": 73.922
  },
  "oklch": {
    "l": 0.71219,
    "c": 0.1637,
    "h": 304.2
  },
  "luminance": 0.33621
}

Semantic roles & 50–950 ramp

primary
#B985F4
secondary
#E6F4D7
accent
#E0067A
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#141017
muted
#837F85

Preview Lab

Preview with #B985F4

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

Preview Lab → · Contrast checker → · Palette generator →

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