#B286F3#B286F3

#B286F3 is a light, vivid violet. Relative luminance 0.330; OKLCH L 70.7% C 0.159 H 301.0°. Best body text is #000000 at 7.60:1 contrast (WCAG AA passes).

Color values

HEX#B286F3
RGBrgb(178, 134, 243)
HSLhsl(264, 82%, 74%)
HSVhsv(264, 45%, 95%)
CMYKcmyk(26.7%, 44.9%, 0%, 4.7%)
CIE-LABlab(64.15, 38.54, -48.72)
CIE-LCHlch(64.15, 62.12, 308.34°)
OKLaboklab(70.66% 0.0822 -0.1365)
OKLCHoklch(70.66% 0.159 301)
XYZxyz(43.0592, 32.9861, 88.8751)
Luminance0.3299 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B286F3 #C7F386
analogous
#8691F3 #B286F3 #E986F3
triadic
#B286F3 #F3B286 #86F3B2
tetradic
#B286F3 #F38691 #C7F386 #86F3E9
square
#B286F3 #F38691 #C7F386 #86F3E9
split-complementary
#B286F3 #F3E986 #91F386
monochromatic
#6B17E8 #8F4EED #B286F3 #D5BEF9 #EDE3FC

Accessibility & contrast

On white

2.76
#B286F3 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.60
#B286F3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B286F3
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B286F3#FFFFFF#000000##000000
##B286F31.002.767.607.60
#FFFFFF2.761.0021.0021.00
#0000007.6021.001.001.00
##0000007.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#679BF7
Deuteranopia (green-blind)
#719BF0
Tritanopia (blue-blind)
#A699B1
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #b286f3;
/* rgb */ color: rgb(178, 134, 243);
/* oklch */ color: oklch(70.7% 0.159 301.0);
Tailwind
colors: {
  custom: {
    50: '#cbaaf7',
    500: '#b286f3',
    950: '#000000',
  },
}
SCSS
$custom: #b286f3;
$custom-light: #cbaaf7;
$custom-dark: #000000;
JSON
{
  "hex": "#b286f3",
  "rgb": {
    "r": 178,
    "g": 134,
    "b": 243
  },
  "hsl": {
    "h": 264.22,
    "s": 81.955,
    "l": 73.922
  },
  "oklch": {
    "l": 0.70661,
    "c": 0.15929,
    "h": 301
  },
  "luminance": 0.32986
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B286F3

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

Preview Lab → · Contrast checker → · Palette generator →

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