#B288ED#B288ED

#B288ED is a light, vivid violet. Relative luminance 0.332; OKLCH L 70.7% C 0.149 H 301.9°. Best body text is #000000 at 7.64:1 contrast (WCAG AA passes).

Color values

HEX#B288ED
RGBrgb(178, 136, 237)
HSLhsl(265, 74%, 73%)
HSVhsv(265, 43%, 93%)
CMYKcmyk(24.9%, 42.6%, 0%, 7.1%)
CIE-LABlab(64.31, 36.01, -45.16)
CIE-LCHlch(64.31, 57.76, 308.57°)
OKLaboklab(70.69% 0.0786 -0.1261)
OKLCHoklch(70.69% 0.149 301.9)
XYZxyz(42.4469, 33.1877, 84.2740)
Luminance0.3319 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B288ED #C3ED88
analogous
#8890ED #B288ED #E488ED
triadic
#B288ED #EDB288 #88EDB2
tetradic
#B288ED #ED8890 #C3ED88 #88EDE4
square
#B288ED #ED8890 #C3ED88 #88EDE4
split-complementary
#B288ED #EDE488 #90ED88
monochromatic
#6E21DA #9053E5 #B288ED #D4BDF5 #EEE4FB

Accessibility & contrast

On white

2.75
#B288ED on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.64
#B288ED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B288ED
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B288ED#FFFFFF#000000##000000
##B288ED1.002.757.647.64
#FFFFFF2.751.0021.0021.00
#0000007.6421.001.001.00
##0000007.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D9BF1
Deuteranopia (green-blind)
#769CEA
Tritanopia (blue-blind)
#A799AF
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #b288ed;
/* rgb */ color: rgb(178, 136, 237);
/* oklch */ color: oklch(70.7% 0.149 301.9);
Tailwind
colors: {
  custom: {
    50: '#cbabf3',
    500: '#b288ed',
    950: '#000000',
  },
}
SCSS
$custom: #b288ed;
$custom-light: #cbabf3;
$custom-dark: #000000;
JSON
{
  "hex": "#b288ed",
  "rgb": {
    "r": 178,
    "g": 136,
    "b": 237
  },
  "hsl": {
    "h": 264.95,
    "s": 73.723,
    "l": 73.137
  },
  "oklch": {
    "l": 0.7069,
    "c": 0.14858,
    "h": 301.9
  },
  "luminance": 0.33188
}

Semantic roles & 50–950 ramp

primary
#B288ED
secondary
#E8F3D8
accent
#D61083
background
#FCFAFE
surface
#F9F4FD
border
#D2CED5
text
#131017
muted
#827F85

Preview Lab

Preview with #B288ED

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

Preview Lab → · Contrast checker → · Palette generator →

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