#B268CA#B268CA

#B268CA is a light, vivid purple. Relative luminance 0.236; OKLCH L 63.7% C 0.160 H 317.4°. Best body text is #000000 at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#B268CA
RGBrgb(178, 104, 202)
HSLhsl(285, 48%, 60%)
HSVhsv(285, 49%, 79%)
CMYKcmyk(11.9%, 48.5%, 0%, 20.8%)
CIE-LABlab(55.72, 45.71, -39.07)
CIE-LCHlch(55.72, 60.13, 319.48°)
OKLaboklab(63.72% 0.1179 -0.1083)
OKLCHoklch(63.72% 0.16 317.4)
XYZxyz(33.9696, 23.6310, 58.6375)
Luminance0.2363 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B268CA #80CA68
analogous
#8168CA #B268CA #CA68B1
triadic
#B268CA #CAB268 #68CAB2
tetradic
#B268CA #CA8168 #80CA68 #68B1CA
square
#B268CA #CA8168 #80CA68 #68B1CA
split-complementary
#B268CA #B1CA68 #68CA81
monochromatic
#723088 #9840B5 #B268CA #C995DA #E0C3EA

Accessibility & contrast

On white

3.67
#B268CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.73
#B268CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B268CA
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B268CA#FFFFFF#000000##000000
##B268CA1.003.675.735.73
#FFFFFF3.671.0021.0021.00
#0000005.7321.001.001.00
##0000005.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5681CD
Deuteranopia (green-blind)
#6B88C7
Tritanopia (blue-blind)
#B27690
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #b268ca;
/* rgb */ color: rgb(178, 104, 202);
/* oklch */ color: oklch(63.7% 0.160 317.4);
Tailwind
colors: {
  custom: {
    50: '#cb95da',
    500: '#b268ca',
    950: '#000000',
  },
}
SCSS
$custom: #b268ca;
$custom-light: #cb95da;
$custom-dark: #000000;
JSON
{
  "hex": "#b268ca",
  "rgb": {
    "r": 178,
    "g": 104,
    "b": 202
  },
  "hsl": {
    "h": 285.306,
    "s": 48.039,
    "l": 60
  },
  "oklch": {
    "l": 0.63716,
    "c": 0.1601,
    "h": 317.4
  },
  "luminance": 0.2363
}

Semantic roles & 50–950 ramp

primary
#B268CA
secondary
#BDDAB4
accent
#D85071
background
#FCF9FD
surface
#F9F2FB
border
#D2CCD4
text
#130D15
muted
#827E83

Preview Lab

Preview with #B268CA

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

Preview Lab → · Contrast checker → · Palette generator →

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