#B270BC#B270BC

#B270BC is a light, vivid purple. Relative luminance 0.247; OKLCH L 64.3% C 0.131 H 322.1°. Best body text is #000000 at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#B270BC
RGBrgb(178, 112, 188)
HSLhsl(292, 36%, 59%)
HSVhsv(292, 40%, 74%)
CMYKcmyk(5.3%, 40.4%, 0%, 26.3%)
CIE-LABlab(56.77, 38.58, -29.43)
CIE-LCHlch(56.77, 48.53, 322.66°)
OKLaboklab(64.29% 0.1038 -0.0807)
OKLCHoklch(64.29% 0.131 322.1)
XYZxyz(33.2303, 24.6854, 50.5815)
Luminance0.2468 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B270BC #7ABC70
analogous
#8C70BC #B270BC #BC70A0
triadic
#B270BC #BCB270 #70BCB2
tetradic
#B270BC #BC8C70 #7ABC70 #70A0BC
square
#B270BC #BC8C70 #7ABC70 #70A0BC
split-complementary
#B270BC #A0BC70 #70BC8C
monochromatic
#703979 #974CA3 #B270BC #C89AD0 #DFC3E3

Accessibility & contrast

On white

3.54
#B270BC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.94
#B270BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B270BC
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B270BC#FFFFFF#000000##000000
##B270BC1.003.545.945.94
#FFFFFF3.541.0021.0021.00
#0000005.9421.001.001.00
##0000005.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6783BF
Deuteranopia (green-blind)
#788BBA
Tritanopia (blue-blind)
#B4798D
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #b270bc;
/* rgb */ color: rgb(178, 112, 188);
/* oklch */ color: oklch(64.3% 0.131 322.1);
Tailwind
colors: {
  custom: {
    50: '#ca9ad0',
    500: '#b270bc',
    950: '#000000',
  },
}
SCSS
$custom: #b270bc;
$custom-light: #ca9ad0;
$custom-dark: #000000;
JSON
{
  "hex": "#b270bc",
  "rgb": {
    "r": 178,
    "g": 112,
    "b": 188
  },
  "hsl": {
    "h": 292.105,
    "s": 36.19,
    "l": 58.824
  },
  "oklch": {
    "l": 0.64294,
    "c": 0.13149,
    "h": 322.1
  },
  "luminance": 0.24684
}

Semantic roles & 50–950 ramp

primary
#B270BC
secondary
#B9D3B5
accent
#CC5C6A
background
#FCF9FC
surface
#F9F2F9
border
#D2CCD2
text
#130E14
muted
#827E82

Preview Lab

Preview with #B270BC

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

Preview Lab → · Contrast checker → · Palette generator →

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