#B270FE#B270FE

#B270FE is a light, highly saturated violet. Relative luminance 0.282; OKLCH L 67.8% C 0.206 H 302.7°. Best body text is #000000 at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#B270FE
RGBrgb(178, 112, 254)
HSLhsl(268, 99%, 72%)
HSVhsv(268, 56%, 100%)
CMYKcmyk(29.9%, 55.9%, 0%, 0.4%)
CIE-LABlab(60.08, 53.04, -61.26)
CIE-LCHlch(60.08, 81.03, 310.89°)
OKLaboklab(67.83% 0.1112 -0.1731)
OKLCHoklch(67.83% 0.206 302.7)
XYZxyz(42.0396, 28.2091, 96.9768)
Luminance0.2821 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B270FE #BCFE70
analogous
#7075FE #B270FE #F970FE
triadic
#B270FE #FEB270 #70FEB2
tetradic
#B270FE #FE7075 #BCFE70 #70FEF9
square
#B270FE #FE7075 #BCFE70 #70FEF9
split-complementary
#B270FE #FEF970 #75FE70
monochromatic
#7102F2 #9133FE #B270FE #D3ADFE #EFE1FF

Accessibility & contrast

On white

3.16
#B270FE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.64
#B270FE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B270FE
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B270FE#FFFFFF#000000##000000
##B270FE1.003.166.646.64
#FFFFFF3.161.0021.0021.00
#0000006.6421.001.001.00
##0000006.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#358FFF
Deuteranopia (green-blind)
#4E90FB
Tritanopia (blue-blind)
#A48CAD
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #b270fe;
/* rgb */ color: rgb(178, 112, 254);
/* oklch */ color: oklch(67.8% 0.206 302.7);
Tailwind
colors: {
  custom: {
    50: '#cd9bff',
    500: '#b270fe',
    950: '#000000',
  },
}
SCSS
$custom: #b270fe;
$custom-light: #cd9bff;
$custom-dark: #000000;
JSON
{
  "hex": "#b270fe",
  "rgb": {
    "r": 178,
    "g": 112,
    "b": 254
  },
  "hsl": {
    "h": 267.887,
    "s": 98.611,
    "l": 71.765
  },
  "oklch": {
    "l": 0.67826,
    "c": 0.20574,
    "h": 302.7
  },
  "luminance": 0.28209
}

Semantic roles & 50–950 ramp

primary
#B270FE
secondary
#E6F7D3
accent
#E6007B
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140E18
muted
#837E86

Preview Lab

Preview with #B270FE

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

Preview Lab → · Contrast checker → · Palette generator →

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