#B284FC#B284FC

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

Color values

HEX#B284FC
RGBrgb(178, 132, 252)
HSLhsl(263, 95%, 75%)
HSVhsv(263, 48%, 99%)
CMYKcmyk(29.4%, 47.6%, 0%, 1.2%)
CIE-LABlab(64.16, 41.80, -53.66)
CIE-LCHlch(64.16, 68.02, 307.92°)
OKLaboklab(70.81% 0.0859 -0.1509)
OKLCHoklch(70.81% 0.174 299.7)
XYZxyz(44.1779, 32.9955, 96.1179)
Luminance0.3300 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B284FC #CEFC84
analogous
#8492FC #B284FC #EE84FC
triadic
#B284FC #FCB284 #84FCB2
tetradic
#B284FC #FC8492 #CEFC84 #84FCEE
square
#B284FC #FC8492 #CEFC84 #84FCEE
split-complementary
#B284FC #FCEE84 #92FC84
monochromatic
#670DF9 #8D48FB #B284FC #D7C0FD #ECE1FE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B284FC#FFFFFF#000000##000000
##B284FC1.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)
#5E9BFF
Deuteranopia (green-blind)
#699BF9
Tritanopia (blue-blind)
#A39AB4
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #b284fc;
/* rgb */ color: rgb(178, 132, 252);
/* oklch */ color: oklch(70.8% 0.174 299.7);
Tailwind
colors: {
  custom: {
    50: '#cca8fe',
    500: '#b284fc',
    950: '#000000',
  },
}
SCSS
$custom: #b284fc;
$custom-light: #cca8fe;
$custom-dark: #000000;
JSON
{
  "hex": "#b284fc",
  "rgb": {
    "r": 178,
    "g": 132,
    "b": 252
  },
  "hsl": {
    "h": 263,
    "s": 95.238,
    "l": 75.294
  },
  "oklch": {
    "l": 0.70814,
    "c": 0.1736,
    "h": 299.7
  },
  "luminance": 0.32996
}

Semantic roles & 50–950 ramp

primary
#B284FC
secondary
#E9F6D5
accent
#E6008E
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#141018
muted
#827F86

Preview Lab

Preview with #B284FC

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

Preview Lab → · Contrast checker → · Palette generator →

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