#B288DF#B288DF

#B288DF is a light, vivid violet. Relative luminance 0.324; OKLCH L 70.0% C 0.131 H 305.5°. Best body text is #000000 at 7.48:1 contrast (WCAG AA passes).

Color values

HEX#B288DF
RGBrgb(178, 136, 223)
HSLhsl(269, 58%, 70%)
HSVhsv(269, 39%, 87%)
CMYKcmyk(20.2%, 39%, 0%, 12.5%)
CIE-LABlab(63.67, 32.77, -38.41)
CIE-LCHlch(63.67, 50.49, 310.47°)
OKLaboklab(70% 0.076 -0.1066)
OKLCHoklch(70% 0.131 305.5)
XYZxyz(40.4809, 32.4012, 73.9192)
Luminance0.3240 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B288DF #B5DF88
analogous
#8889DF #B288DF #DE88DF
triadic
#B288DF #DFB288 #88DFB2
tetradic
#B288DF #DF8889 #B5DF88 #88DFDE
square
#B288DF #DF8889 #B5DF88 #88DFDE
split-complementary
#B288DF #DFDE88 #89DF88
monochromatic
#7432BA #9358D2 #B288DF #D1B8EC #EFE7F9

Accessibility & contrast

On white

2.81
#B288DF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.48
#B288DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B288DF
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B288DF#FFFFFF#000000##000000
##B288DF1.002.817.487.48
#FFFFFF2.811.0021.0021.00
#0000007.4821.001.001.00
##0000007.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7499E2
Deuteranopia (green-blind)
#7E9ADD
Tritanopia (blue-blind)
#AB96A9
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #b288df;
/* rgb */ color: rgb(178, 136, 223);
/* oklch */ color: oklch(70.0% 0.131 305.5);
Tailwind
colors: {
  custom: {
    50: '#caabe9',
    500: '#b288df',
    950: '#000000',
  },
}
SCSS
$custom: #b288df;
$custom-light: #caabe9;
$custom-dark: #000000;
JSON
{
  "hex": "#b288df",
  "rgb": {
    "r": 178,
    "g": 136,
    "b": 223
  },
  "hsl": {
    "h": 268.966,
    "s": 57.616,
    "l": 70.392
  },
  "oklch": {
    "l": 0.69997,
    "c": 0.13092,
    "h": 305.5
  },
  "luminance": 0.32401
}

Semantic roles & 50–950 ramp

primary
#B288DF
secondary
#E2EDD5
accent
#C52076
background
#FCFAFE
surface
#F9F4FD
border
#D2CED5
text
#131016
muted
#827F84

Preview Lab

Preview with #B288DF

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

Preview Lab → · Contrast checker → · Palette generator →

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