#B268CD#B268CD

#B268CD is a light, vivid purple. Relative luminance 0.238; OKLCH L 63.9% C 0.163 H 316.4°. Best body text is #000000 at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#B268CD
RGBrgb(178, 104, 205)
HSLhsl(284, 50%, 61%)
HSVhsv(284, 49%, 80%)
CMYKcmyk(13.2%, 49.3%, 0%, 19.6%)
CIE-LABlab(55.86, 46.33, -40.55)
CIE-LCHlch(55.86, 61.57, 318.81°)
OKLaboklab(63.87% 0.1183 -0.1126)
OKLCHoklch(63.87% 0.163 316.4)
XYZxyz(34.3282, 23.7744, 60.5264)
Luminance0.2377 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B268CD #83CD68
analogous
#7F68CD #B268CD #CD68B6
triadic
#B268CD #CDB268 #68CDB2
tetradic
#B268CD #CD7F68 #83CD68 #68B6CD
square
#B268CD #CD7F68 #83CD68 #68B6CD
split-complementary
#B268CD #B6CD68 #68CD7F
monochromatic
#732E8C #993EBA #B268CD #C996DC #E1C4EB

Accessibility & contrast

On white

3.65
#B268CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.75
#B268CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B268CD
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B268CD#FFFFFF#000000##000000
##B268CD1.003.655.755.75
#FFFFFF3.651.0021.0021.00
#0000005.7521.001.001.00
##0000005.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5481D0
Deuteranopia (green-blind)
#6A88CA
Tritanopia (blue-blind)
#B17791
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #b268cd;
/* rgb */ color: rgb(178, 104, 205);
/* oklch */ color: oklch(63.9% 0.163 316.4);
Tailwind
colors: {
  custom: {
    50: '#cb95dc',
    500: '#b268cd',
    950: '#000000',
  },
}
SCSS
$custom: #b268cd;
$custom-light: #cb95dc;
$custom-dark: #000000;
JSON
{
  "hex": "#b268cd",
  "rgb": {
    "r": 178,
    "g": 104,
    "b": 205
  },
  "hsl": {
    "h": 283.96,
    "s": 50.249,
    "l": 60.588
  },
  "oklch": {
    "l": 0.63871,
    "c": 0.16331,
    "h": 316.4
  },
  "luminance": 0.23773
}

Semantic roles & 50–950 ramp

primary
#B268CD
secondary
#BFDCB5
accent
#BE2850
background
#FCF9FD
surface
#F9F2FB
border
#D2CCD4
text
#130D15
muted
#827E83

Preview Lab

Preview with #B268CD

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

Preview Lab → · Contrast checker → · Palette generator →

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