#B270CB#B270CB

#B270CB is a light, vivid purple. Relative luminance 0.254; OKLCH L 65.0% C 0.148 H 316.2°. Best body text is #000000 at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#B270CB
RGBrgb(178, 112, 203)
HSLhsl(284, 47%, 62%)
HSVhsv(284, 45%, 80%)
CMYKcmyk(12.3%, 44.8%, 0%, 20.4%)
CIE-LABlab(57.43, 41.64, -36.95)
CIE-LCHlch(57.43, 55.67, 318.42°)
OKLaboklab(65.01% 0.1067 -0.1023)
OKLCHoklch(65.01% 0.148 316.2)
XYZxyz(34.9322, 25.3661, 59.5443)
Luminance0.2536 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B270CB #89CB70
analogous
#8570CB #B270CB #CB70B7
triadic
#B270CB #CBB270 #70CBB2
tetradic
#B270CB #CB8570 #89CB70 #70B7CB
square
#B270CB #CB8570 #89CB70 #70B7CB
split-complementary
#B270CB #B7CB70 #70CB85
monochromatic
#75338D #9A44BA #B270CB #CA9DDB #E2CAEC

Accessibility & contrast

On white

3.46
#B270CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.07
#B270CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B270CB
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B270CB#FFFFFF#000000##000000
##B270CB1.003.466.076.07
#FFFFFF3.461.0021.0021.00
#0000006.0721.001.001.00
##0000006.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6086CE
Deuteranopia (green-blind)
#728CC8
Tritanopia (blue-blind)
#B17D94
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #b270cb;
/* rgb */ color: rgb(178, 112, 203);
/* oklch */ color: oklch(65.0% 0.148 316.2);
Tailwind
colors: {
  custom: {
    50: '#cb9bdb',
    500: '#b270cb',
    950: '#000000',
  },
}
SCSS
$custom: #b270cb;
$custom-light: #cb9bdb;
$custom-dark: #000000;
JSON
{
  "hex": "#b270cb",
  "rgb": {
    "r": 178,
    "g": 112,
    "b": 203
  },
  "hsl": {
    "h": 283.516,
    "s": 46.667,
    "l": 61.765
  },
  "oklch": {
    "l": 0.65008,
    "c": 0.14777,
    "h": 316.2
  },
  "luminance": 0.25365
}

Semantic roles & 50–950 ramp

primary
#B270CB
secondary
#C4DCBB
accent
#BA2C53
background
#FCF9FD
surface
#F9F2FB
border
#D2CCD4
text
#130E15
muted
#827E83

Preview Lab

Preview with #B270CB

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

Preview Lab → · Contrast checker → · Palette generator →

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