#B270E8#B270E8

#B270E8 is a light, vivid violet. Relative luminance 0.269; OKLCH L 66.5% C 0.181 H 307.6°. Best body text is #000000 at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#B270E8
RGBrgb(178, 112, 232)
HSLhsl(273, 72%, 67%)
HSVhsv(273, 52%, 91%)
CMYKcmyk(23.3%, 51.7%, 0%, 9%)
CIE-LABlab(58.86, 47.96, -51.00)
CIE-LCHlch(58.86, 70.01, 313.24°)
OKLaboklab(66.54% 0.1102 -0.1431)
OKLCHoklch(66.54% 0.181 307.6)
XYZxyz(38.7168, 26.8800, 79.4770)
Luminance0.2688 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B270E8 #A6E870
analogous
#7670E8 #B270E8 #E870E2
triadic
#B270E8 #E8B270 #70E8B2
tetradic
#B270E8 #E87670 #A6E870 #70E2E8
square
#B270E8 #E87670 #A6E870 #70E2E8
split-complementary
#B270E8 #E2E870 #70E876
monochromatic
#771FBF #963BE0 #B270E8 #CEA5F0 #EBD9F9

Accessibility & contrast

On white

3.29
#B270E8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.38
#B270E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B270E8
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B270E8#FFFFFF#000000##000000
##B270E81.003.296.386.38
#FFFFFF3.291.0021.0021.00
#0000006.3821.001.001.00
##0000006.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C8BEC
Deuteranopia (green-blind)
#618EE5
Tritanopia (blue-blind)
#AA85A2
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #b270e8;
/* rgb */ color: rgb(178, 112, 232);
/* oklch */ color: oklch(66.5% 0.181 307.6);
Tailwind
colors: {
  custom: {
    50: '#cc9bf0',
    500: '#b270e8',
    950: '#000000',
  },
}
SCSS
$custom: #b270e8;
$custom-light: #cc9bf0;
$custom-dark: #000000;
JSON
{
  "hex": "#b270e8",
  "rgb": {
    "r": 178,
    "g": 112,
    "b": 232
  },
  "hsl": {
    "h": 273,
    "s": 72.289,
    "l": 67.451
  },
  "oklch": {
    "l": 0.66539,
    "c": 0.18058,
    "h": 307.6
  },
  "luminance": 0.2688
}

Semantic roles & 50–950 ramp

primary
#B270E8
secondary
#D8EDC7
accent
#D41169
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#140E16
muted
#827E84

Preview Lab

Preview with #B270E8

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

Preview Lab → · Contrast checker → · Palette generator →

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