#B282CF#B282CF

#B282CF is a light, vivid violet. Relative luminance 0.299; OKLCH L 68.2% C 0.121 H 312.0°. Best body text is #000000 at 6.99:1 contrast (WCAG AA passes).

Color values

HEX#B282CF
RGBrgb(178, 130, 207)
HSLhsl(277, 45%, 66%)
HSVhsv(277, 37%, 81%)
CMYKcmyk(14%, 37.2%, 0%, 18.8%)
CIE-LABlab(61.60, 32.58, -32.70)
CIE-LCHlch(61.60, 46.16, 314.89°)
OKLaboklab(68.2% 0.0813 -0.0902)
OKLCHoklch(68.2% 0.121 312)
XYZxyz(37.6033, 29.9359, 62.8167)
Luminance0.2994 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B282CF #9FCF82
analogous
#8B82CF #B282CF #CF82C5
triadic
#B282CF #CFB282 #82CFB2
tetradic
#B282CF #CF8B82 #9FCF82 #82C5CF
square
#B282CF #CF8B82 #9FCF82 #82C5CF
split-complementary
#B282CF #C5CF82 #82CF8B
monochromatic
#773C9B #9756BE #B282CF #CDAEE0 #E8DAF1

Accessibility & contrast

On white

3.01
#B282CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.99
#B282CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B282CF
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B282CF#FFFFFF#000000##000000
##B282CF1.003.016.996.99
#FFFFFF3.011.0021.0021.00
#0000006.9921.001.001.00
##0000006.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7492D2
Deuteranopia (green-blind)
#7F96CD
Tritanopia (blue-blind)
#AF8D9F
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #b282cf;
/* rgb */ color: rgb(178, 130, 207);
/* oklch */ color: oklch(68.2% 0.121 312.0);
Tailwind
colors: {
  custom: {
    50: '#caa7de',
    500: '#b282cf',
    950: '#000000',
  },
}
SCSS
$custom: #b282cf;
$custom-light: #caa7de;
$custom-dark: #000000;
JSON
{
  "hex": "#b282cf",
  "rgb": {
    "r": 178,
    "g": 130,
    "b": 207
  },
  "hsl": {
    "h": 277.403,
    "s": 44.509,
    "l": 66.078
  },
  "oklch": {
    "l": 0.68201,
    "c": 0.1214,
    "h": 312
  },
  "luminance": 0.29935
}

Semantic roles & 50–950 ramp

primary
#B282CF
secondary
#D3E3CA
accent
#B82E62
background
#FCFAFD
surface
#F8F4FB
border
#D1CED4
text
#130F15
muted
#827F83

Preview Lab

Preview with #B282CF

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

Preview Lab → · Contrast checker → · Palette generator →

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