#B285DF#B285DF

#B285DF is a light, vivid violet. Relative luminance 0.316; OKLCH L 69.5% C 0.136 H 306.2°. Best body text is #000000 at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#B285DF
RGBrgb(178, 133, 223)
HSLhsl(270, 58%, 70%)
HSVhsv(270, 40%, 87%)
CMYKcmyk(20.2%, 40.4%, 0%, 12.5%)
CIE-LABlab(62.98, 34.45, -39.49)
CIE-LCHlch(62.98, 52.40, 311.10°)
OKLaboklab(69.48% 0.0803 -0.1097)
OKLCHoklch(69.48% 0.136 306.2)
XYZxyz(40.0642, 31.5680, 73.7803)
Luminance0.3157 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B285DF #B2DF85
analogous
#8585DF #B285DF #DF85DF
triadic
#B285DF #DFB285 #85DFB2
tetradic
#B285DF #DF8585 #B2DF85 #85DFDF
square
#B285DF #DF8585 #B2DF85 #85DFDF
split-complementary
#B285DF #DFDF85 #85DF85
monochromatic
#7531B9 #9355D2 #B285DF #D1B5EC #EFE6F8

Accessibility & contrast

On white

2.87
#B285DF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.31
#B285DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B285DF
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B285DF#FFFFFF#000000##000000
##B285DF1.002.877.317.31
#FFFFFF2.871.0021.0021.00
#0000007.3121.001.001.00
##0000007.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7097E2
Deuteranopia (green-blind)
#7B99DD
Tritanopia (blue-blind)
#AB93A7
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #b285df;
/* rgb */ color: rgb(178, 133, 223);
/* oklch */ color: oklch(69.5% 0.136 306.2);
Tailwind
colors: {
  custom: {
    50: '#caa9e9',
    500: '#b285df',
    950: '#000000',
  },
}
SCSS
$custom: #b285df;
$custom-light: #caa9e9;
$custom-dark: #000000;
JSON
{
  "hex": "#b285df",
  "rgb": {
    "r": 178,
    "g": 133,
    "b": 223
  },
  "hsl": {
    "h": 270,
    "s": 58.442,
    "l": 69.804
  },
  "oklch": {
    "l": 0.69477,
    "c": 0.13592,
    "h": 306.2
  },
  "luminance": 0.31568
}

Semantic roles & 50–950 ramp

primary
#B285DF
secondary
#E0EDD3
accent
#C61F73
background
#FCFAFE
surface
#F9F4FD
border
#D2CED5
text
#131016
muted
#827F84

Preview Lab

Preview with #B285DF

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

Preview Lab → · Contrast checker → · Palette generator →

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