#B285DB#B285DB

#B285DB is a light, vivid violet. Relative luminance 0.314; OKLCH L 69.3% C 0.131 H 307.4°. Best body text is #000000 at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#B285DB
RGBrgb(178, 133, 219)
HSLhsl(271, 54%, 69%)
HSVhsv(271, 39%, 86%)
CMYKcmyk(18.7%, 39.3%, 0%, 14.1%)
CIE-LABlab(62.81, 33.54, -37.54)
CIE-LCHlch(62.81, 50.34, 311.78°)
OKLaboklab(69.28% 0.0795 -0.1041)
OKLCHoklch(69.28% 0.131 307.4)
XYZxyz(39.5313, 31.3549, 70.9736)
Luminance0.3135 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B285DB #AEDB85
analogous
#8785DB #B285DB #DB85D9
triadic
#B285DB #DBB285 #85DBB2
tetradic
#B285DB #DB8785 #AEDB85 #85D9DB
square
#B285DB #DB8785 #AEDB85 #85D9DB
split-complementary
#B285DB #D9DB85 #85DB87
monochromatic
#7634B1 #9456CD #B285DB #D0B4E9 #EEE4F7

Accessibility & contrast

On white

2.89
#B285DB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.27
#B285DB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B285DB
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B285DB#FFFFFF#000000##000000
##B285DB1.002.897.277.27
#FFFFFF2.891.0021.0021.00
#0000007.2721.001.001.00
##0000007.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7296DE
Deuteranopia (green-blind)
#7D98D9
Tritanopia (blue-blind)
#AC92A6
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #b285db;
/* rgb */ color: rgb(178, 133, 219);
/* oklch */ color: oklch(69.3% 0.131 307.4);
Tailwind
colors: {
  custom: {
    50: '#caa9e6',
    500: '#b285db',
    950: '#000000',
  },
}
SCSS
$custom: #b285db;
$custom-light: #caa9e6;
$custom-dark: #000000;
JSON
{
  "hex": "#b285db",
  "rgb": {
    "r": 178,
    "g": 133,
    "b": 219
  },
  "hsl": {
    "h": 271.395,
    "s": 54.43,
    "l": 69.02
  },
  "oklch": {
    "l": 0.69284,
    "c": 0.13095,
    "h": 307.4
  },
  "luminance": 0.31355
}

Semantic roles & 50–950 ramp

primary
#B285DB
secondary
#DDEBD1
accent
#C2246F
background
#FCFAFE
surface
#F8F4FC
border
#D1CED5
text
#131016
muted
#827F84

Preview Lab

Preview with #B285DB

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

Preview Lab → · Contrast checker → · Palette generator →

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