#B287FF#B287FF

#B287FF is a light, vivid violet. Relative luminance 0.340; OKLCH L 71.5% C 0.173 H 298.5°. Best body text is #000000 at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#B287FF
RGBrgb(178, 135, 255)
HSLhsl(262, 100%, 76%)
HSVhsv(262, 47%, 100%)
CMYKcmyk(30.2%, 47.1%, 0%, 0%)
CIE-LABlab(64.97, 40.88, -54.00)
CIE-LCHlch(64.97, 67.73, 307.13°)
OKLaboklab(71.47% 0.0824 -0.1519)
OKLCHoklch(71.47% 0.173 298.5)
XYZxyz(45.0698, 34.0125, 98.7790)
Luminance0.3401 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B287FF #D4FF87
analogous
#8798FF #B287FF #EE87FF
triadic
#B287FF #FFB287 #87FFB2
tetradic
#B287FF #FF8798 #D4FF87 #87FFEE
square
#B287FF #FF8798 #D4FF87 #87FFEE
split-complementary
#B287FF #FFEE87 #98FF87
monochromatic
#630DFF #8B4AFF #B287FF #D9C4FF #EBE0FF

Accessibility & contrast

On white

2.69
#B287FF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.80
#B287FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B287FF
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B287FF#FFFFFF#000000##000000
##B287FF1.002.697.807.80
#FFFFFF2.691.0021.0021.00
#0000007.8021.001.001.00
##0000007.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#609EFF
Deuteranopia (green-blind)
#6A9DFC
Tritanopia (blue-blind)
#A29DB7
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #b287ff;
/* rgb */ color: rgb(178, 135, 255);
/* oklch */ color: oklch(71.5% 0.173 298.5);
Tailwind
colors: {
  custom: {
    50: '#ccabff',
    500: '#b287ff',
    950: '#000000',
  },
}
SCSS
$custom: #b287ff;
$custom-light: #ccabff;
$custom-dark: #000000;
JSON
{
  "hex": "#b287ff",
  "rgb": {
    "r": 178,
    "g": 135,
    "b": 255
  },
  "hsl": {
    "h": 261.5,
    "s": 100,
    "l": 76.471
  },
  "oklch": {
    "l": 0.71473,
    "c": 0.17276,
    "h": 298.5
  },
  "luminance": 0.34013
}

Semantic roles & 50–950 ramp

primary
#B287FF
secondary
#EBF7D4
accent
#E60093
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#141018
muted
#827F86

Preview Lab

Preview with #B287FF

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

Preview Lab → · Contrast checker → · Palette generator →

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