#B285EE#B285EE

#B285EE is a light, vivid violet. Relative luminance 0.324; OKLCH L 70.2% C 0.155 H 302.4°. Best body text is #000000 at 7.48:1 contrast (WCAG AA passes).

Color values

HEX#B285EE
RGBrgb(178, 133, 238)
HSLhsl(266, 76%, 73%)
HSVhsv(266, 44%, 93%)
CMYKcmyk(25.2%, 44.1%, 0%, 6.7%)
CIE-LABlab(63.68, 37.91, -46.70)
CIE-LCHlch(63.68, 60.15, 309.07°)
OKLaboklab(70.23% 0.0828 -0.1306)
OKLCHoklch(70.23% 0.155 302.4)
XYZxyz(42.1768, 32.4131, 84.9067)
Luminance0.3241 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B285EE #C1EE85
analogous
#858CEE #B285EE #E685EE
triadic
#B285EE #EEB285 #85EEB2
tetradic
#B285EE #EE858C #C1EE85 #85EEE6
square
#B285EE #EE858C #C1EE85 #85EEE6
split-complementary
#B285EE #EEE685 #8CEE85
monochromatic
#6F1EDA #904FE7 #B285EE #D4BBF5 #EEE4FB

Accessibility & contrast

On white

2.81
#B285EE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.48
#B285EE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B285EE
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B285EE#FFFFFF#000000##000000
##B285EE1.002.817.487.48
#FFFFFF2.811.0021.0021.00
#0000007.4821.001.001.00
##0000007.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6899F2
Deuteranopia (green-blind)
#739AEB
Tritanopia (blue-blind)
#A797AE
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #b285ee;
/* rgb */ color: rgb(178, 133, 238);
/* oklch */ color: oklch(70.2% 0.155 302.4);
Tailwind
colors: {
  custom: {
    50: '#cba9f4',
    500: '#b285ee',
    950: '#000000',
  },
}
SCSS
$custom: #b285ee;
$custom-light: #cba9f4;
$custom-dark: #000000;
JSON
{
  "hex": "#b285ee",
  "rgb": {
    "r": 178,
    "g": 133,
    "b": 238
  },
  "hsl": {
    "h": 265.714,
    "s": 75.54,
    "l": 72.745
  },
  "oklch": {
    "l": 0.70231,
    "c": 0.15462,
    "h": 302.4
  },
  "luminance": 0.32413
}

Semantic roles & 50–950 ramp

primary
#B285EE
secondary
#E7F3D8
accent
#D80E81
background
#FCFAFE
surface
#F9F4FD
border
#D2CED5
text
#131017
muted
#827F85

Preview Lab

Preview with #B285EE

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

Preview Lab → · Contrast checker → · Palette generator →

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