#B270DC#B270DC

#B270DC is a light, vivid violet. Relative luminance 0.262; OKLCH L 65.9% C 0.167 H 310.8°. Best body text is #000000 at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#B270DC
RGBrgb(178, 112, 220)
HSLhsl(277, 61%, 65%)
HSVhsv(277, 49%, 86%)
CMYKcmyk(19.1%, 49.1%, 0%, 13.7%)
CIE-LABlab(58.25, 45.29, -45.26)
CIE-LCHlch(58.25, 64.03, 315.01°)
OKLaboklab(65.88% 0.1091 -0.1263)
OKLCHoklch(65.88% 0.167 310.8)
XYZxyz(37.0702, 26.2213, 70.8047)
Luminance0.2622 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B270DC #9ADC70
analogous
#7C70DC #B270DC #DC70D0
triadic
#B270DC #DCB270 #70DCB2
tetradic
#B270DC #DC7C70 #9ADC70 #70D0DC
square
#B270DC #DC7C70 #9ADC70 #70D0DC
split-complementary
#B270DC #D0DC70 #70DC7C
monochromatic
#7729A8 #983FD0 #B270DC #CCA1E8 #E7D2F4

Accessibility & contrast

On white

3.36
#B270DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.24
#B270DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B270DC
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B270DC#FFFFFF#000000##000000
##B270DC1.003.366.246.24
#FFFFFF3.361.0021.0021.00
#0000006.2421.001.001.00
##0000006.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5589E0
Deuteranopia (green-blind)
#688DD9
Tritanopia (blue-blind)
#AD829C
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #b270dc;
/* rgb */ color: rgb(178, 112, 220);
/* oklch */ color: oklch(65.9% 0.167 310.8);
Tailwind
colors: {
  custom: {
    50: '#cb9be7',
    500: '#b270dc',
    950: '#000000',
  },
}
SCSS
$custom: #b270dc;
$custom-light: #cb9be7;
$custom-dark: #000000;
JSON
{
  "hex": "#b270dc",
  "rgb": {
    "r": 178,
    "g": 112,
    "b": 220
  },
  "hsl": {
    "h": 276.667,
    "s": 60.674,
    "l": 65.098
  },
  "oklch": {
    "l": 0.65882,
    "c": 0.16689,
    "h": 310.8
  },
  "luminance": 0.26221
}

Semantic roles & 50–950 ramp

primary
#B270DC
secondary
#D0E6C2
accent
#C81D60
background
#FCF9FE
surface
#F9F2FC
border
#D2CCD5
text
#140E16
muted
#827E84

Preview Lab

Preview with #B270DC

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

Preview Lab → · Contrast checker → · Palette generator →

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