#B270CD#B270CD

#B270CD is a light, vivid purple. Relative luminance 0.255; OKLCH L 65.1% C 0.150 H 315.5°. Best body text is #000000 at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#B270CD
RGBrgb(178, 112, 205)
HSLhsl(283, 48%, 62%)
HSVhsv(283, 45%, 80%)
CMYKcmyk(13.2%, 45.4%, 0%, 19.6%)
CIE-LABlab(57.52, 42.06, -37.94)
CIE-LCHlch(57.52, 56.64, 317.95°)
OKLaboklab(65.11% 0.107 -0.1051)
OKLCHoklch(65.11% 0.15 315.5)
XYZxyz(35.1720, 25.4620, 60.8077)
Luminance0.2546 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B270CD #8BCD70
analogous
#8470CD #B270CD #CD70B9
triadic
#B270CD #CDB270 #70CDB2
tetradic
#B270CD #CD8470 #8BCD70 #70B9CD
square
#B270CD #CD8470 #8BCD70 #70B9CD
split-complementary
#B270CD #B9CD70 #70CD84
monochromatic
#753290 #9A43BD #B270CD #CA9DDD #E3CBED

Accessibility & contrast

On white

3.45
#B270CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.09
#B270CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B270CD
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B270CD#FFFFFF#000000##000000
##B270CD1.003.456.096.09
#FFFFFF3.451.0021.0021.00
#0000006.0921.001.001.00
##0000006.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F86D0
Deuteranopia (green-blind)
#718CCA
Tritanopia (blue-blind)
#B17D95
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #b270cd;
/* rgb */ color: rgb(178, 112, 205);
/* oklch */ color: oklch(65.1% 0.150 315.5);
Tailwind
colors: {
  custom: {
    50: '#cb9bdc',
    500: '#b270cd',
    950: '#000000',
  },
}
SCSS
$custom: #b270cd;
$custom-light: #cb9bdc;
$custom-dark: #000000;
JSON
{
  "hex": "#b270cd",
  "rgb": {
    "r": 178,
    "g": 112,
    "b": 205
  },
  "hsl": {
    "h": 282.581,
    "s": 48.187,
    "l": 62.157
  },
  "oklch": {
    "l": 0.65107,
    "c": 0.14999,
    "h": 315.5
  },
  "luminance": 0.25461
}

Semantic roles & 50–950 ramp

primary
#B270CD
secondary
#C5DDBB
accent
#BB2A54
background
#FCF9FD
surface
#F9F2FB
border
#D2CCD4
text
#130E15
muted
#827E83

Preview Lab

Preview with #B270CD

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

Preview Lab → · Contrast checker → · Palette generator →

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