#B270FA#B270FA

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

Color values

HEX#B270FA
RGBrgb(178, 112, 250)
HSLhsl(269, 93%, 71%)
HSVhsv(269, 55%, 98%)
CMYKcmyk(28.8%, 55.2%, 0%, 2%)
CIE-LABlab(59.85, 52.10, -59.42)
CIE-LCHlch(59.85, 79.03, 311.24°)
OKLaboklab(67.58% 0.1111 -0.1677)
OKLCHoklch(67.58% 0.201 303.5)
XYZxyz(41.4057, 27.9555, 93.6385)
Luminance0.2796 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B270FA #B8FA70
analogous
#7073FA #B270FA #F770FA
triadic
#B270FA #FAB270 #70FAB2
tetradic
#B270FA #FA7073 #B8FA70 #70FAF7
square
#B270FA #FA7073 #B8FA70 #70FAF7
split-complementary
#B270FA #FAF770 #73FA70
monochromatic
#7308E8 #9235F8 #B270FA #D2ABFC #EFE1FE

Accessibility & contrast

On white

3.19
#B270FA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.59
#B270FA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B270FA
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B270FA#FFFFFF#000000##000000
##B270FA1.003.196.596.59
#FFFFFF3.191.0021.0021.00
#0000006.5921.001.001.00
##0000006.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A8FFF
Deuteranopia (green-blind)
#5290F7
Tritanopia (blue-blind)
#A58BAB
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #b270fa;
/* rgb */ color: rgb(178, 112, 250);
/* oklch */ color: oklch(67.6% 0.201 303.5);
Tailwind
colors: {
  custom: {
    50: '#cd9bfd',
    500: '#b270fa',
    950: '#000000',
  },
}
SCSS
$custom: #b270fa;
$custom-light: #cd9bfd;
$custom-dark: #000000;
JSON
{
  "hex": "#b270fa",
  "rgb": {
    "r": 178,
    "g": 112,
    "b": 250
  },
  "hsl": {
    "h": 268.696,
    "s": 93.243,
    "l": 70.98
  },
  "oklch": {
    "l": 0.67585,
    "c": 0.20117,
    "h": 303.5
  },
  "luminance": 0.27955
}

Semantic roles & 50–950 ramp

primary
#B270FA
secondary
#E4F5D1
accent
#E60078
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140E18
muted
#827E86

Preview Lab

Preview with #B270FA

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

Preview Lab → · Contrast checker → · Palette generator →

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