#B285CF#B285CF

#B285CF is a light, moderate violet. Relative luminance 0.307; OKLCH L 68.7% C 0.116 H 311.4°. Best body text is #000000 at 7.15:1 contrast (WCAG AA passes).

Color values

HEX#B285CF
RGBrgb(178, 133, 207)
HSLhsl(276, 44%, 67%)
HSVhsv(276, 36%, 81%)
CMYKcmyk(14%, 35.7%, 0%, 18.8%)
CIE-LABlab(62.29, 30.90, -31.63)
CIE-LCHlch(62.29, 44.22, 314.34°)
OKLaboklab(68.73% 0.0769 -0.0871)
OKLCHoklch(68.73% 0.116 311.4)
XYZxyz(38.0082, 30.7456, 62.9516)
Luminance0.3075 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B285CF #A2CF85
analogous
#8D85CF #B285CF #CF85C7
triadic
#B285CF #CFB285 #85CFB2
tetradic
#B285CF #CF8D85 #A2CF85 #85C7CF
square
#B285CF #CF8D85 #A2CF85 #85C7CF
split-complementary
#B285CF #C7CF85 #85CF8D
monochromatic
#773D9C #9659BE #B285CF #CEB1E0 #E9DDF2

Accessibility & contrast

On white

2.94
#B285CF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.15
#B285CF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B285CF
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B285CF#FFFFFF#000000##000000
##B285CF1.002.947.157.15
#FFFFFF2.941.0021.0021.00
#0000007.1521.001.001.00
##0000007.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7894D2
Deuteranopia (green-blind)
#8298CD
Tritanopia (blue-blind)
#AF8FA0
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #b285cf;
/* rgb */ color: rgb(178, 133, 207);
/* oklch */ color: oklch(68.7% 0.116 311.4);
Tailwind
colors: {
  custom: {
    50: '#caa9de',
    500: '#b285cf',
    950: '#000000',
  },
}
SCSS
$custom: #b285cf;
$custom-light: #caa9de;
$custom-dark: #000000;
JSON
{
  "hex": "#b285cf",
  "rgb": {
    "r": 178,
    "g": 133,
    "b": 207
  },
  "hsl": {
    "h": 276.486,
    "s": 43.529,
    "l": 66.667
  },
  "oklch": {
    "l": 0.68726,
    "c": 0.11618,
    "h": 311.4
  },
  "luminance": 0.30745
}

Semantic roles & 50–950 ramp

primary
#B285CF
secondary
#D5E4CC
accent
#B72F64
background
#FCFAFD
surface
#F8F4FB
border
#D1CED4
text
#131015
muted
#827F83

Preview Lab

Preview with #B285CF

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

Preview Lab → · Contrast checker → · Palette generator →

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