#B270DA#B270DA

#B270DA is a light, vivid violet. Relative luminance 0.261; OKLCH L 65.8% C 0.165 H 311.4°. Best body text is #000000 at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#B270DA
RGBrgb(178, 112, 218)
HSLhsl(277, 59%, 65%)
HSVhsv(277, 49%, 85%)
CMYKcmyk(18.3%, 48.6%, 0%, 14.5%)
CIE-LABlab(58.15, 44.85, -44.29)
CIE-LCHlch(58.15, 63.03, 315.36°)
OKLaboklab(65.78% 0.1088 -0.1235)
OKLCHoklch(65.78% 0.165 311.4)
XYZxyz(36.8069, 26.1160, 69.4180)
Luminance0.2611 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B270DA #98DA70
analogous
#7D70DA #B270DA #DA70CD
triadic
#B270DA #DAB270 #70DAB2
tetradic
#B270DA #DA7D70 #98DA70 #70CDDA
square
#B270DA #DA7D70 #98DA70 #70CDDA
split-complementary
#B270DA #CDDA70 #70DA7D
monochromatic
#772BA5 #983FCD #B270DA #CCA1E7 #E6D1F3

Accessibility & contrast

On white

3.37
#B270DA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.22
#B270DA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B270DA
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B270DA#FFFFFF#000000##000000
##B270DA1.003.376.226.22
#FFFFFF3.371.0021.0021.00
#0000006.2221.001.001.00
##0000006.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5788DE
Deuteranopia (green-blind)
#6A8DD7
Tritanopia (blue-blind)
#AE819B
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #b270da;
/* rgb */ color: rgb(178, 112, 218);
/* oklch */ color: oklch(65.8% 0.165 311.4);
Tailwind
colors: {
  custom: {
    50: '#cb9be6',
    500: '#b270da',
    950: '#000000',
  },
}
SCSS
$custom: #b270da;
$custom-light: #cb9be6;
$custom-dark: #000000;
JSON
{
  "hex": "#b270da",
  "rgb": {
    "r": 178,
    "g": 112,
    "b": 218
  },
  "hsl": {
    "h": 277.358,
    "s": 58.889,
    "l": 64.706
  },
  "oklch": {
    "l": 0.65776,
    "c": 0.16463,
    "h": 311.4
  },
  "luminance": 0.26115
}

Semantic roles & 50–950 ramp

primary
#B270DA
secondary
#CEE5C1
accent
#C71F5E
background
#FCF9FE
surface
#F9F2FC
border
#D2CCD5
text
#140E16
muted
#827E84

Preview Lab

Preview with #B270DA

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

Preview Lab → · Contrast checker → · Palette generator →

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