#B270FB#B270FB

#B270FB is a light, highly saturated violet. Relative luminance 0.280; OKLCH L 67.6% C 0.202 H 303.3°. Best body text is #000000 at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#B270FB
RGBrgb(178, 112, 251)
HSLhsl(268, 95%, 71%)
HSVhsv(268, 55%, 98%)
CMYKcmyk(29.1%, 55.4%, 0%, 1.6%)
CIE-LABlab(59.91, 52.33, -59.88)
CIE-LCHlch(59.91, 79.53, 311.15°)
OKLaboklab(67.65% 0.1112 -0.169)
OKLCHoklch(67.65% 0.202 303.3)
XYZxyz(41.5629, 28.0184, 94.4665)
Luminance0.2802 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B270FB #B9FB70
analogous
#7073FB #B270FB #F770FB
triadic
#B270FB #FBB270 #70FBB2
tetradic
#B270FB #FB7073 #B9FB70 #70FBF7
square
#B270FB #FB7073 #B9FB70 #70FBF7
split-complementary
#B270FB #FBF770 #73FB70
monochromatic
#7307EA #9234F9 #B270FB #D2ACFD #EFE1FE

Accessibility & contrast

On white

3.18
#B270FB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.60
#B270FB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B270FB
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B270FB#FFFFFF#000000##000000
##B270FB1.003.186.606.60
#FFFFFF3.181.0021.0021.00
#0000006.6021.001.001.00
##0000006.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#398FFF
Deuteranopia (green-blind)
#5190F8
Tritanopia (blue-blind)
#A58BAB
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #b270fb;
/* rgb */ color: rgb(178, 112, 251);
/* oklch */ color: oklch(67.6% 0.202 303.3);
Tailwind
colors: {
  custom: {
    50: '#cd9bfd',
    500: '#b270fb',
    950: '#000000',
  },
}
SCSS
$custom: #b270fb;
$custom-light: #cd9bfd;
$custom-dark: #000000;
JSON
{
  "hex": "#b270fb",
  "rgb": {
    "r": 178,
    "g": 112,
    "b": 251
  },
  "hsl": {
    "h": 268.489,
    "s": 94.558,
    "l": 71.176
  },
  "oklch": {
    "l": 0.67645,
    "c": 0.20231,
    "h": 303.3
  },
  "luminance": 0.28018
}

Semantic roles & 50–950 ramp

primary
#B270FB
secondary
#E4F6D1
accent
#E60079
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140E18
muted
#827E86

Preview Lab

Preview with #B270FB

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

Preview Lab → · Contrast checker → · Palette generator →

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