#B285EF#B285EF

#B285EF is a light, vivid violet. Relative luminance 0.325; OKLCH L 70.3% C 0.156 H 302.1°. Best body text is #000000 at 7.49:1 contrast (WCAG AA passes).

Color values

HEX#B285EF
RGBrgb(178, 133, 239)
HSLhsl(265, 77%, 73%)
HSVhsv(265, 44%, 94%)
CMYKcmyk(25.5%, 44.4%, 0%, 6.3%)
CIE-LABlab(63.73, 38.15, -47.18)
CIE-LCHlch(63.73, 60.67, 308.96°)
OKLaboklab(70.28% 0.0829 -0.132)
OKLCHoklch(70.28% 0.156 302.1)
XYZxyz(42.3242, 32.4720, 85.6826)
Luminance0.3247 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B285EF #C2EF85
analogous
#858DEF #B285EF #E785EF
triadic
#B285EF #EFB285 #85EFB2
tetradic
#B285EF #EF858D #C2EF85 #85EFE7
square
#B285EF #EF858D #C2EF85 #85EFE7
split-complementary
#B285EF #EFE785 #8DEF85
monochromatic
#6E1DDD #904FE8 #B285EF #D4BBF6 #EEE4FB

Accessibility & contrast

On white

2.80
#B285EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.49
#B285EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B285EF
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B285EF#FFFFFF#000000##000000
##B285EF1.002.807.497.49
#FFFFFF2.801.0021.0021.00
#0000007.4921.001.001.00
##0000007.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#689AF3
Deuteranopia (green-blind)
#729AEC
Tritanopia (blue-blind)
#A797AF
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #b285ef;
/* rgb */ color: rgb(178, 133, 239);
/* oklch */ color: oklch(70.3% 0.156 302.1);
Tailwind
colors: {
  custom: {
    50: '#cba9f4',
    500: '#b285ef',
    950: '#000000',
  },
}
SCSS
$custom: #b285ef;
$custom-light: #cba9f4;
$custom-dark: #000000;
JSON
{
  "hex": "#b285ef",
  "rgb": {
    "r": 178,
    "g": 133,
    "b": 239
  },
  "hsl": {
    "h": 265.472,
    "s": 76.812,
    "l": 72.941
  },
  "oklch": {
    "l": 0.70283,
    "c": 0.15587,
    "h": 302.1
  },
  "luminance": 0.32472
}

Semantic roles & 50–950 ramp

primary
#B285EF
secondary
#E8F3D8
accent
#D90C82
background
#FCFAFE
surface
#F9F4FD
border
#D2CED5
text
#131017
muted
#827F85

Preview Lab

Preview with #B285EF

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

Preview Lab → · Contrast checker → · Palette generator →

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