#B288FC#B288FC

#B288FC is a light, vivid violet. Relative luminance 0.341; OKLCH L 71.5% C 0.167 H 298.8°. Best body text is #000000 at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#B288FC
RGBrgb(178, 136, 252)
HSLhsl(262, 95%, 76%)
HSVhsv(262, 46%, 99%)
CMYKcmyk(29.4%, 46%, 0%, 1.2%)
CIE-LABlab(65.04, 39.60, -52.25)
CIE-LCHlch(65.04, 65.56, 307.16°)
OKLaboklab(71.48% 0.0807 -0.1468)
OKLCHoklch(71.48% 0.167 298.8)
XYZxyz(44.7308, 34.1012, 96.3022)
Luminance0.3410 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B288FC #D2FC88
analogous
#8898FC #B288FC #EC88FC
triadic
#B288FC #FCB288 #88FCB2
tetradic
#B288FC #FC8898 #D2FC88 #88FCEC
square
#B288FC #FC8898 #D2FC88 #88FCEC
split-complementary
#B288FC #FCEC88 #98FC88
monochromatic
#6511F9 #8B4CFA #B288FC #D9C4FE #ECE1FE

Accessibility & contrast

On white

2.69
#B288FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.82
#B288FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B288FC
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B288FC#FFFFFF#000000##000000
##B288FC1.002.697.827.82
#FFFFFF2.691.0021.0021.00
#0000007.8221.001.001.00
##0000007.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#649EFF
Deuteranopia (green-blind)
#6D9DF9
Tritanopia (blue-blind)
#A39DB6
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #b288fc;
/* rgb */ color: rgb(178, 136, 252);
/* oklch */ color: oklch(71.5% 0.167 298.8);
Tailwind
colors: {
  custom: {
    50: '#ccabfe',
    500: '#b288fc',
    950: '#000000',
  },
}
SCSS
$custom: #b288fc;
$custom-light: #ccabfe;
$custom-dark: #000000;
JSON
{
  "hex": "#b288fc",
  "rgb": {
    "r": 178,
    "g": 136,
    "b": 252
  },
  "hsl": {
    "h": 261.724,
    "s": 95.082,
    "l": 76.078
  },
  "oklch": {
    "l": 0.71477,
    "c": 0.16748,
    "h": 298.8
  },
  "luminance": 0.34102
}

Semantic roles & 50–950 ramp

primary
#B288FC
secondary
#EAF6D5
accent
#E60092
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#141018
muted
#827F86

Preview Lab

Preview with #B288FC

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

Preview Lab → · Contrast checker → · Palette generator →

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