#B286F2#B286F2

#B286F2 is a light, vivid violet. Relative luminance 0.329; OKLCH L 70.6% C 0.158 H 301.3°. Best body text is #000000 at 7.59:1 contrast (WCAG AA passes).

Color values

HEX#B286F2
RGBrgb(178, 134, 242)
HSLhsl(264, 81%, 74%)
HSVhsv(264, 45%, 95%)
CMYKcmyk(26.4%, 44.6%, 0%, 5.1%)
CIE-LABlab(64.10, 38.30, -48.25)
CIE-LCHlch(64.10, 61.60, 308.44°)
OKLaboklab(70.61% 0.082 -0.1351)
OKLCHoklch(70.61% 0.158 301.3)
XYZxyz(42.9086, 32.9259, 88.0820)
Luminance0.3293 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B286F2 #C6F286
analogous
#8690F2 #B286F2 #E886F2
triadic
#B286F2 #F2B286 #86F2B2
tetradic
#B286F2 #F28690 #C6F286 #86F2E8
square
#B286F2 #F28690 #C6F286 #86F2E8
split-complementary
#B286F2 #F2E886 #90F286
monochromatic
#6C19E5 #8F4FEC #B286F2 #D5BDF8 #EDE3FC

Accessibility & contrast

On white

2.77
#B286F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.59
#B286F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B286F2
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B286F2#FFFFFF#000000##000000
##B286F21.002.777.597.59
#FFFFFF2.771.0021.0021.00
#0000007.5921.001.001.00
##0000007.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#679BF6
Deuteranopia (green-blind)
#719BEF
Tritanopia (blue-blind)
#A699B0
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #b286f2;
/* rgb */ color: rgb(178, 134, 242);
/* oklch */ color: oklch(70.6% 0.158 301.3);
Tailwind
colors: {
  custom: {
    50: '#cbaaf7',
    500: '#b286f2',
    950: '#000000',
  },
}
SCSS
$custom: #b286f2;
$custom-light: #cbaaf7;
$custom-dark: #000000;
JSON
{
  "hex": "#b286f2",
  "rgb": {
    "r": 178,
    "g": 134,
    "b": 242
  },
  "hsl": {
    "h": 264.444,
    "s": 80.597,
    "l": 73.725
  },
  "oklch": {
    "l": 0.70609,
    "c": 0.15805,
    "h": 301.3
  },
  "luminance": 0.32926
}

Semantic roles & 50–950 ramp

primary
#B286F2
secondary
#E8F4D7
accent
#DD0986
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#141017
muted
#827F85

Preview Lab

Preview with #B286F2

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

Preview Lab → · Contrast checker → · Palette generator →

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