#B268BC#B268BC

#B268BC is a light, vivid purple. Relative luminance 0.230; OKLCH L 63.0% C 0.145 H 322.7°. Best body text is #000000 at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#B268BC
RGBrgb(178, 104, 188)
HSLhsl(293, 39%, 57%)
HSVhsv(293, 45%, 74%)
CMYKcmyk(5.3%, 44.7%, 0%, 26.3%)
CIE-LABlab(55.07, 42.89, -32.07)
CIE-LCHlch(55.07, 53.56, 323.21°)
OKLaboklab(63.02% 0.1156 -0.0882)
OKLCHoklch(63.02% 0.145 322.7)
XYZxyz(32.3865, 22.9978, 50.3002)
Luminance0.2300 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B268BC #72BC68
analogous
#8868BC #B268BC #BC689C
triadic
#B268BC #BCB268 #68BCB2
tetradic
#B268BC #BC8868 #72BC68 #689CBC
square
#B268BC #BC8868 #72BC68 #689CBC
split-complementary
#B268BC #9CBC68 #68BC88
monochromatic
#6E3475 #9547A0 #B268BC #C892CF #DDBDE2

Accessibility & contrast

On white

3.75
#B268BC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.60
#B268BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B268BC
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B268BC#FFFFFF#000000##000000
##B268BC1.003.755.605.60
#FFFFFF3.751.0021.0021.00
#0000005.6021.001.001.00
##0000005.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D7EBF
Deuteranopia (green-blind)
#7287B9
Tritanopia (blue-blind)
#B47289
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #b268bc;
/* rgb */ color: rgb(178, 104, 188);
/* oklch */ color: oklch(63.0% 0.145 322.7);
Tailwind
colors: {
  custom: {
    50: '#cb95d0',
    500: '#b268bc',
    950: '#000000',
  },
}
SCSS
$custom: #b268bc;
$custom-light: #cb95d0;
$custom-dark: #000000;
JSON
{
  "hex": "#b268bc",
  "rgb": {
    "r": 178,
    "g": 104,
    "b": 188
  },
  "hsl": {
    "h": 292.857,
    "s": 38.532,
    "l": 57.255
  },
  "oklch": {
    "l": 0.63024,
    "c": 0.14543,
    "h": 322.7
  },
  "luminance": 0.22996
}

Semantic roles & 50–950 ramp

primary
#B268BC
secondary
#B3D1AF
accent
#CE5967
background
#FCF9FC
surface
#F9F2F9
border
#D2CCD2
text
#130D14
muted
#827E82

Preview Lab

Preview with #B268BC

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

Preview Lab → · Contrast checker → · Palette generator →

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