#B270CA#B270CA

#B270CA is a light, vivid purple. Relative luminance 0.253; OKLCH L 65.0% C 0.147 H 316.6°. Best body text is #000000 at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#B270CA
RGBrgb(178, 112, 202)
HSLhsl(284, 46%, 62%)
HSVhsv(284, 45%, 79%)
CMYKcmyk(11.9%, 44.6%, 0%, 20.8%)
CIE-LABlab(57.38, 41.43, -36.45)
CIE-LCHlch(57.38, 55.18, 318.66°)
OKLaboklab(64.96% 0.1065 -0.1008)
OKLCHoklch(64.96% 0.147 316.6)
XYZxyz(34.8134, 25.3186, 58.9188)
Luminance0.2532 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B270CA #88CA70
analogous
#8570CA #B270CA #CA70B5
triadic
#B270CA #CAB270 #70CAB2
tetradic
#B270CA #CA8570 #88CA70 #70B5CA
square
#B270CA #CA8570 #88CA70 #70B5CA
split-complementary
#B270CA #B5CA70 #70CA85
monochromatic
#74348C #9944B8 #B270CA #CA9DDB #E2C9EB

Accessibility & contrast

On white

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

On black

6.06
#B270CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B270CA
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B270CA#FFFFFF#000000##000000
##B270CA1.003.466.066.06
#FFFFFF3.461.0021.0021.00
#0000006.0621.001.001.00
##0000006.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6086CD
Deuteranopia (green-blind)
#728CC7
Tritanopia (blue-blind)
#B17C93
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #b270ca;
/* rgb */ color: rgb(178, 112, 202);
/* oklch */ color: oklch(65.0% 0.147 316.6);
Tailwind
colors: {
  custom: {
    50: '#ca9bda',
    500: '#b270ca',
    950: '#000000',
  },
}
SCSS
$custom: #b270ca;
$custom-light: #ca9bda;
$custom-dark: #000000;
JSON
{
  "hex": "#b270ca",
  "rgb": {
    "r": 178,
    "g": 112,
    "b": 202
  },
  "hsl": {
    "h": 284,
    "s": 45.918,
    "l": 61.569
  },
  "oklch": {
    "l": 0.64958,
    "c": 0.14667,
    "h": 316.6
  },
  "luminance": 0.25318
}

Semantic roles & 50–950 ramp

primary
#B270CA
secondary
#C3DCBA
accent
#B92C52
background
#FCF9FD
surface
#F9F2FB
border
#D2CCD4
text
#130E15
muted
#827E83

Preview Lab

Preview with #B270CA

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

Preview Lab → · Contrast checker → · Palette generator →

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