#B285E7#B285E7

#B285E7 is a light, vivid violet. Relative luminance 0.320; OKLCH L 69.9% C 0.146 H 304.0°. Best body text is #000000 at 7.40:1 contrast (WCAG AA passes).

Color values

HEX#B285E7
RGBrgb(178, 133, 231)
HSLhsl(268, 67%, 71%)
HSVhsv(268, 42%, 91%)
CMYKcmyk(22.9%, 42.4%, 0%, 9.4%)
CIE-LABlab(63.35, 36.28, -43.35)
CIE-LCHlch(63.35, 56.53, 309.92°)
OKLaboklab(69.87% 0.0817 -0.1209)
OKLCHoklch(69.87% 0.146 304)
XYZxyz(41.1684, 32.0097, 79.5955)
Luminance0.3201 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B285E7 #BAE785
analogous
#8589E7 #B285E7 #E385E7
triadic
#B285E7 #E7B285 #85E7B2
tetradic
#B285E7 #E78589 #BAE785 #85E7E3
square
#B285E7 #E78589 #BAE785 #85E7E3
split-complementary
#B285E7 #E7E385 #89E785
monochromatic
#7228CA #9252DD #B285E7 #D2B8F1 #EFE5FA

Accessibility & contrast

On white

2.84
#B285E7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.40
#B285E7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B285E7
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B285E7#FFFFFF#000000##000000
##B285E71.002.847.407.40
#FFFFFF2.841.0021.0021.00
#0000007.4021.001.001.00
##0000007.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C98EB
Deuteranopia (green-blind)
#7799E4
Tritanopia (blue-blind)
#A995AB
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #b285e7;
/* rgb */ color: rgb(178, 133, 231);
/* oklch */ color: oklch(69.9% 0.146 304.0);
Tailwind
colors: {
  custom: {
    50: '#cba9ef',
    500: '#b285e7',
    950: '#000000',
  },
}
SCSS
$custom: #b285e7;
$custom-light: #cba9ef;
$custom-dark: #000000;
JSON
{
  "hex": "#b285e7",
  "rgb": {
    "r": 178,
    "g": 133,
    "b": 231
  },
  "hsl": {
    "h": 267.551,
    "s": 67.123,
    "l": 71.373
  },
  "oklch": {
    "l": 0.69873,
    "c": 0.14589,
    "h": 304
  },
  "luminance": 0.3201
}

Semantic roles & 50–950 ramp

primary
#B285E7
secondary
#E5F1D7
accent
#CF167A
background
#FCFAFE
surface
#F9F4FD
border
#D2CED5
text
#131016
muted
#827F84

Preview Lab

Preview with #B285E7

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

Preview Lab → · Contrast checker → · Palette generator →

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