#B268D5#B268D5

#B268D5 is a light, vivid purple. Relative luminance 0.242; OKLCH L 64.3% C 0.172 H 313.9°. Best body text is #000000 at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#B268D5
RGBrgb(178, 104, 213)
HSLhsl(281, 56%, 62%)
HSVhsv(281, 51%, 84%)
CMYKcmyk(16.4%, 51.2%, 0%, 16.5%)
CIE-LABlab(56.26, 48.01, -44.46)
CIE-LCHlch(56.26, 65.43, 317.20°)
OKLaboklab(64.29% 0.1192 -0.124)
OKLCHoklch(64.29% 0.172 313.9)
XYZxyz(35.3187, 24.1706, 65.7428)
Luminance0.2417 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B268D5 #8BD568
analogous
#7C68D5 #B268D5 #D568C2
triadic
#B268D5 #D5B268 #68D5B2
tetradic
#B268D5 #D57C68 #8BD568 #68C2D5
square
#B268D5 #D57C68 #8BD568 #68C2D5
split-complementary
#B268D5 #C2D568 #68D57C
monochromatic
#752A98 #9A38C8 #B268D5 #CA98E2 #E3C8F0

Accessibility & contrast

On white

3.60
#B268D5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.83
#B268D5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B268D5
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B268D5#FFFFFF#000000##000000
##B268D51.003.605.835.83
#FFFFFF3.601.0021.0021.00
#0000005.8321.001.001.00
##0000005.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F83D9
Deuteranopia (green-blind)
#6589D2
Tritanopia (blue-blind)
#AF7995
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #b268d5;
/* rgb */ color: rgb(178, 104, 213);
/* oklch */ color: oklch(64.3% 0.172 313.9);
Tailwind
colors: {
  custom: {
    50: '#cb95e2',
    500: '#b268d5',
    950: '#000000',
  },
}
SCSS
$custom: #b268d5;
$custom-light: #cb95e2;
$custom-dark: #000000;
JSON
{
  "hex": "#b268d5",
  "rgb": {
    "r": 178,
    "g": 104,
    "b": 213
  },
  "hsl": {
    "h": 280.734,
    "s": 56.477,
    "l": 62.157
  },
  "oklch": {
    "l": 0.64294,
    "c": 0.17197,
    "h": 313.9
  },
  "luminance": 0.2417
}

Semantic roles & 50–950 ramp

primary
#B268D5
secondary
#C5E0B8
accent
#C42156
background
#FCF9FD
surface
#F9F2FB
border
#D2CCD4
text
#140D15
muted
#827E83

Preview Lab

Preview with #B268D5

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

Preview Lab → · Contrast checker → · Palette generator →

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