#B270F8#B270F8

#B270F8 is a light, vivid violet. Relative luminance 0.278; OKLCH L 67.5% C 0.199 H 304.0°. Best body text is #000000 at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#B270F8
RGBrgb(178, 112, 248)
HSLhsl(269, 91%, 71%)
HSVhsv(269, 55%, 97%)
CMYKcmyk(28.2%, 54.8%, 0%, 2.7%)
CIE-LABlab(59.74, 51.63, -58.50)
CIE-LCHlch(59.74, 78.02, 311.43°)
OKLaboklab(67.47% 0.1111 -0.165)
OKLCHoklch(67.47% 0.199 304)
XYZxyz(41.0938, 27.8308, 91.9957)
Luminance0.2783 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B270F8 #B6F870
analogous
#7072F8 #B270F8 #F670F8
triadic
#B270F8 #F8B270 #70F8B2
tetradic
#B270F8 #F87072 #B6F870 #70F8F6
square
#B270F8 #F87072 #B6F870 #70F8F6
split-complementary
#B270F8 #F8F670 #72F870
monochromatic
#740BE3 #9336F5 #B270F8 #D1AAFB #EFE2FE

Accessibility & contrast

On white

3.20
#B270F8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.57
#B270F8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B270F8
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B270F8#FFFFFF#000000##000000
##B270F81.003.206.576.57
#FFFFFF3.201.0021.0021.00
#0000006.5721.001.001.00
##0000006.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D8EFD
Deuteranopia (green-blind)
#5490F5
Tritanopia (blue-blind)
#A58AAA
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #b270f8;
/* rgb */ color: rgb(178, 112, 248);
/* oklch */ color: oklch(67.5% 0.199 304.0);
Tailwind
colors: {
  custom: {
    50: '#cc9bfb',
    500: '#b270f8',
    950: '#000000',
  },
}
SCSS
$custom: #b270f8;
$custom-light: #cc9bfb;
$custom-dark: #000000;
JSON
{
  "hex": "#b270f8",
  "rgb": {
    "r": 178,
    "g": 112,
    "b": 248
  },
  "hsl": {
    "h": 269.118,
    "s": 90.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.67465,
    "c": 0.19888,
    "h": 304
  },
  "luminance": 0.27831
}

Semantic roles & 50–950 ramp

primary
#B270F8
secondary
#E2F4CF
accent
#E60076
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140E17
muted
#827E85

Preview Lab

Preview with #B270F8

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

Preview Lab → · Contrast checker → · Palette generator →

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