#B285EB#B285EB

#B285EB is a light, vivid violet. Relative luminance 0.322; OKLCH L 70.1% C 0.151 H 303.1°. Best body text is #000000 at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#B285EB
RGBrgb(178, 133, 235)
HSLhsl(266, 72%, 72%)
HSVhsv(266, 43%, 92%)
CMYKcmyk(24.3%, 43.4%, 0%, 7.8%)
CIE-LABlab(63.54, 37.21, -45.27)
CIE-LCHlch(63.54, 58.60, 309.42°)
OKLaboklab(70.08% 0.0823 -0.1264)
OKLCHoklch(70.08% 0.151 303.1)
XYZxyz(41.7398, 32.2382, 82.6048)
Luminance0.3224 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B285EB #BEEB85
analogous
#858BEB #B285EB #E585EB
triadic
#B285EB #EBB285 #85EBB2
tetradic
#B285EB #EB858B #BEEB85 #85EBE5
square
#B285EB #EB858B #BEEB85 #85EBE5
split-complementary
#B285EB #EBE585 #8BEB85
monochromatic
#7023D3 #9150E2 #B285EB #D3BAF4 #EEE5FB

Accessibility & contrast

On white

2.82
#B285EB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.45
#B285EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B285EB
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B285EB#FFFFFF#000000##000000
##B285EB1.002.827.457.45
#FFFFFF2.821.0021.0021.00
#0000007.4521.001.001.00
##0000007.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A99EF
Deuteranopia (green-blind)
#749AE8
Tritanopia (blue-blind)
#A896AD
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #b285eb;
/* rgb */ color: rgb(178, 133, 235);
/* oklch */ color: oklch(70.1% 0.151 303.1);
Tailwind
colors: {
  custom: {
    50: '#cba9f2',
    500: '#b285eb',
    950: '#000000',
  },
}
SCSS
$custom: #b285eb;
$custom-light: #cba9f2;
$custom-dark: #000000;
JSON
{
  "hex": "#b285eb",
  "rgb": {
    "r": 178,
    "g": 133,
    "b": 235
  },
  "hsl": {
    "h": 266.471,
    "s": 71.831,
    "l": 72.157
  },
  "oklch": {
    "l": 0.70077,
    "c": 0.15088,
    "h": 303.1
  },
  "luminance": 0.32238
}

Semantic roles & 50–950 ramp

primary
#B285EB
secondary
#E7F2D9
accent
#D4127E
background
#FCFAFE
surface
#F9F4FD
border
#D2CED5
text
#131017
muted
#827F85

Preview Lab

Preview with #B285EB

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

Preview Lab → · Contrast checker → · Palette generator →

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