#B985F2#B985F2

#B985F2 is a light, vivid violet. Relative luminance 0.335; OKLCH L 71.1% C 0.161 H 304.6°. Best body text is #000000 at 7.70:1 contrast (WCAG AA passes).

Color values

HEX#B985F2
RGBrgb(185, 133, 242)
HSLhsl(269, 81%, 74%)
HSVhsv(269, 45%, 95%)
CMYKcmyk(23.6%, 45%, 0%, 5.1%)
CIE-LABlab(64.56, 40.75, -47.47)
CIE-LCHlch(64.56, 62.57, 310.65°)
OKLaboklab(71.11% 0.0917 -0.1327)
OKLCHoklch(71.11% 0.161 304.6)
XYZxyz(44.4188, 33.5003, 88.1133)
Luminance0.3350 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B985F2 #BEF285
analogous
#8587F2 #B985F2 #F085F2
triadic
#B985F2 #F2B985 #85F2B9
tetradic
#B985F2 #F28587 #BEF285 #85F2F0
square
#B985F2 #F28587 #BEF285 #85F2F0
split-complementary
#B985F2 #F2F085 #87F285
monochromatic
#7A18E4 #994EEC #B985F2 #D9BCF8 #EFE3FC

Accessibility & contrast

On white

2.73
#B985F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.70
#B985F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B985F2
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B985F2#FFFFFF#000000##000000
##B985F21.002.737.707.70
#FFFFFF2.731.0021.0021.00
#0000007.7021.001.001.00
##0000007.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#689BF6
Deuteranopia (green-blind)
#759DEF
Tritanopia (blue-blind)
#B097B0
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #b985f2;
/* rgb */ color: rgb(185, 133, 242);
/* oklch */ color: oklch(71.1% 0.161 304.6);
Tailwind
colors: {
  custom: {
    50: '#d0a9f7',
    500: '#b985f2',
    950: '#000000',
  },
}
SCSS
$custom: #b985f2;
$custom-light: #d0a9f7;
$custom-dark: #000000;
JSON
{
  "hex": "#b985f2",
  "rgb": {
    "r": 185,
    "g": 133,
    "b": 242
  },
  "hsl": {
    "h": 268.624,
    "s": 80.741,
    "l": 73.529
  },
  "oklch": {
    "l": 0.71115,
    "c": 0.16127,
    "h": 304.6
  },
  "luminance": 0.335
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B985F2

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

Preview Lab → · Contrast checker → · Palette generator →

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