#B270F4#B270F4

#B270F4 is a light, vivid violet. Relative luminance 0.276; OKLCH L 67.2% C 0.194 H 304.8°. Best body text is #000000 at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#B270F4
RGBrgb(178, 112, 244)
HSLhsl(270, 86%, 70%)
HSVhsv(270, 54%, 96%)
CMYKcmyk(27%, 54.1%, 0%, 4.3%)
CIE-LABlab(59.51, 50.70, -56.64)
CIE-LCHlch(59.51, 76.02, 311.83°)
OKLaboklab(67.23% 0.1109 -0.1595)
OKLCHoklch(67.23% 0.194 304.8)
XYZxyz(40.4799, 27.5852, 88.7623)
Luminance0.2758 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B270F4 #B2F470
analogous
#7070F4 #B270F4 #F470F4
triadic
#B270F4 #F4B270 #70F4B2
tetradic
#B270F4 #F47070 #B2F470 #70F4F4
square
#B270F4 #F47070 #B2F470 #70F4F4
split-complementary
#B270F4 #F4F470 #70F470
monochromatic
#7511D9 #9337F0 #B270F4 #D1A9F8 #EFE2FD

Accessibility & contrast

On white

3.22
#B270F4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.52
#B270F4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B270F4
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B270F4#FFFFFF#000000##000000
##B270F41.003.226.526.52
#FFFFFF3.221.0021.0021.00
#0000006.5221.001.001.00
##0000006.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#418DF8
Deuteranopia (green-blind)
#588FF1
Tritanopia (blue-blind)
#A789A8
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #b270f4;
/* rgb */ color: rgb(178, 112, 244);
/* oklch */ color: oklch(67.2% 0.194 304.8);
Tailwind
colors: {
  custom: {
    50: '#cc9bf8',
    500: '#b270f4',
    950: '#000000',
  },
}
SCSS
$custom: #b270f4;
$custom-light: #cc9bf8;
$custom-dark: #000000;
JSON
{
  "hex": "#b270f4",
  "rgb": {
    "r": 178,
    "g": 112,
    "b": 244
  },
  "hsl": {
    "h": 270,
    "s": 85.714,
    "l": 69.804
  },
  "oklch": {
    "l": 0.67228,
    "c": 0.19432,
    "h": 304.8
  },
  "luminance": 0.27585
}

Semantic roles & 50–950 ramp

primary
#B270F4
secondary
#E0F3CD
accent
#E20373
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140E17
muted
#827E85

Preview Lab

Preview with #B270F4

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

Preview Lab → · Contrast checker → · Palette generator →

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