#B284F8#B284F8

#B284F8 is a light, vivid violet. Relative luminance 0.327; OKLCH L 70.6% C 0.169 H 300.4°. Best body text is #000000 at 7.55:1 contrast (WCAG AA passes).

Color values

HEX#B284F8
RGBrgb(178, 132, 248)
HSLhsl(264, 89%, 75%)
HSVhsv(264, 47%, 97%)
CMYKcmyk(28.2%, 46.8%, 0%, 2.7%)
CIE-LABlab(63.95, 40.84, -51.78)
CIE-LCHlch(63.95, 65.95, 308.26°)
OKLaboklab(70.6% 0.0855 -0.1454)
OKLCHoklch(70.6% 0.169 300.4)
XYZxyz(43.5507, 32.7446, 92.8147)
Luminance0.3275 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B284F8 #CAF884
analogous
#8490F8 #B284F8 #EC84F8
triadic
#B284F8 #F8B284 #84F8B2
tetradic
#B284F8 #F88490 #CAF884 #84F8EC
square
#B284F8 #F88490 #CAF884 #84F8EC
split-complementary
#B284F8 #F8EC84 #90F884
monochromatic
#6A10F1 #8E4AF5 #B284F8 #D6BEFB #EDE2FD

Accessibility & contrast

On white

2.78
#B284F8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.55
#B284F8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B284F8
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B284F8#FFFFFF#000000##000000
##B284F81.002.787.557.55
#FFFFFF2.781.0021.0021.00
#0000007.5521.001.001.00
##0000007.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#619BFC
Deuteranopia (green-blind)
#6B9AF5
Tritanopia (blue-blind)
#A499B2
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #b284f8;
/* rgb */ color: rgb(178, 132, 248);
/* oklch */ color: oklch(70.6% 0.169 300.4);
Tailwind
colors: {
  custom: {
    50: '#cca8fb',
    500: '#b284f8',
    950: '#000000',
  },
}
SCSS
$custom: #b284f8;
$custom-light: #cca8fb;
$custom-dark: #000000;
JSON
{
  "hex": "#b284f8",
  "rgb": {
    "r": 178,
    "g": 132,
    "b": 248
  },
  "hsl": {
    "h": 263.793,
    "s": 89.231,
    "l": 74.51
  },
  "oklch": {
    "l": 0.70595,
    "c": 0.16865,
    "h": 300.4
  },
  "luminance": 0.32745
}

Semantic roles & 50–950 ramp

primary
#B284F8
secondary
#E9F5D6
accent
#E6008A
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#141017
muted
#827F85

Preview Lab

Preview with #B284F8

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

Preview Lab → · Contrast checker → · Palette generator →

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