#B270EA#B270EA

#B270EA is a light, vivid violet. Relative luminance 0.270; OKLCH L 66.7% C 0.183 H 307.1°. Best body text is #000000 at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#B270EA
RGBrgb(178, 112, 234)
HSLhsl(272, 74%, 68%)
HSVhsv(272, 52%, 92%)
CMYKcmyk(23.9%, 52.1%, 0%, 8.2%)
CIE-LABlab(58.97, 48.41, -51.95)
CIE-LCHlch(58.97, 71.01, 312.98°)
OKLaboklab(66.65% 0.1104 -0.1458)
OKLCHoklch(66.65% 0.183 307.1)
XYZxyz(39.0025, 26.9942, 80.9817)
Luminance0.2699 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B270EA #A8EA70
analogous
#7570EA #B270EA #EA70E5
triadic
#B270EA #EAB270 #70EAB2
tetradic
#B270EA #EA7570 #A8EA70 #70E5EA
square
#B270EA #EA7570 #A8EA70 #70E5EA
split-complementary
#B270EA #E5EA70 #70EA75
monochromatic
#771DC3 #953BE2 #B270EA #CFA5F2 #EBDBFA

Accessibility & contrast

On white

3.28
#B270EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.40
#B270EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B270EA
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B270EA#FFFFFF#000000##000000
##B270EA1.003.286.406.40
#FFFFFF3.281.0021.0021.00
#0000006.4021.001.001.00
##0000006.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B8BEE
Deuteranopia (green-blind)
#5F8FE7
Tritanopia (blue-blind)
#AA86A3
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #b270ea;
/* rgb */ color: rgb(178, 112, 234);
/* oklch */ color: oklch(66.7% 0.183 307.1);
Tailwind
colors: {
  custom: {
    50: '#cc9bf1',
    500: '#b270ea',
    950: '#000000',
  },
}
SCSS
$custom: #b270ea;
$custom-light: #cc9bf1;
$custom-dark: #000000;
JSON
{
  "hex": "#b270ea",
  "rgb": {
    "r": 178,
    "g": 112,
    "b": 234
  },
  "hsl": {
    "h": 272.459,
    "s": 74.39,
    "l": 67.843
  },
  "oklch": {
    "l": 0.66652,
    "c": 0.18287,
    "h": 307.1
  },
  "luminance": 0.26994
}

Semantic roles & 50–950 ramp

primary
#B270EA
secondary
#D9EEC8
accent
#D70F6B
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#140E17
muted
#827E85

Preview Lab

Preview with #B270EA

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

Preview Lab → · Contrast checker → · Palette generator →

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