#B285CB#B285CB

#B285CB is a light, moderate violet. Relative luminance 0.306; OKLCH L 68.5% C 0.111 H 313.0°. Best body text is #000000 at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#B285CB
RGBrgb(178, 133, 203)
HSLhsl(279, 40%, 66%)
HSVhsv(279, 34%, 80%)
CMYKcmyk(12.3%, 34.5%, 0%, 20.4%)
CIE-LABlab(62.13, 30.04, -29.64)
CIE-LCHlch(62.13, 42.20, 315.39°)
OKLaboklab(68.55% 0.0759 -0.0814)
OKLCHoklch(68.55% 0.111 313)
XYZxyz(37.5253, 30.5525, 60.4087)
Luminance0.3055 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B285CB #9ECB85
analogous
#8F85CB #B285CB #CB85C1
triadic
#B285CB #CBB285 #85CBB2
tetradic
#B285CB #CB8F85 #9ECB85 #85C1CB
square
#B285CB #CB8F85 #9ECB85 #85C1CB
split-complementary
#B285CB #C1CB85 #85CB8F
monochromatic
#774096 #975AB9 #B285CB #CDB0DD #E8DBF0

Accessibility & contrast

On white

2.95
#B285CB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.11
#B285CB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B285CB
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B285CB#FFFFFF#000000##000000
##B285CB1.002.957.117.11
#FFFFFF2.951.0021.0021.00
#0000007.1121.001.001.00
##0000007.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7994CE
Deuteranopia (green-blind)
#8497C9
Tritanopia (blue-blind)
#B08E9F
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #b285cb;
/* rgb */ color: rgb(178, 133, 203);
/* oklch */ color: oklch(68.5% 0.111 313.0);
Tailwind
colors: {
  custom: {
    50: '#caa9db',
    500: '#b285cb',
    950: '#000000',
  },
}
SCSS
$custom: #b285cb;
$custom-light: #caa9db;
$custom-dark: #000000;
JSON
{
  "hex": "#b285cb",
  "rgb": {
    "r": 178,
    "g": 133,
    "b": 203
  },
  "hsl": {
    "h": 278.571,
    "s": 40.23,
    "l": 65.882
  },
  "oklch": {
    "l": 0.68547,
    "c": 0.11132,
    "h": 313
  },
  "luminance": 0.30552
}

Semantic roles & 50–950 ramp

primary
#B285CB
secondary
#D3E1CA
accent
#B33260
background
#FCFAFD
surface
#F8F4FB
border
#D1CED4
text
#131015
muted
#827F83

Preview Lab

Preview with #B285CB

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

Preview Lab → · Contrast checker → · Palette generator →

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