#B270FD#B270FD

#B270FD is a light, highly saturated violet. Relative luminance 0.281; OKLCH L 67.8% C 0.205 H 302.9°. Best body text is #000000 at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#B270FD
RGBrgb(178, 112, 253)
HSLhsl(268, 97%, 72%)
HSVhsv(268, 56%, 99%)
CMYKcmyk(29.6%, 55.7%, 0%, 0.8%)
CIE-LABlab(60.02, 52.80, -60.80)
CIE-LCHlch(60.02, 80.53, 310.97°)
OKLaboklab(67.77% 0.1112 -0.1717)
OKLCHoklch(67.77% 0.205 302.9)
XYZxyz(41.8799, 28.1452, 96.1357)
Luminance0.2814 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B270FD #BBFD70
analogous
#7075FD #B270FD #F870FD
triadic
#B270FD #FDB270 #70FDB2
tetradic
#B270FD #FD7075 #BBFD70 #70FDF8
square
#B270FD #FD7075 #BBFD70 #70FDF8
split-complementary
#B270FD #FDF870 #75FD70
monochromatic
#7203EF #9234FC #B270FD #D3ACFE #EFE1FF

Accessibility & contrast

On white

3.17
#B270FD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.63
#B270FD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B270FD
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B270FD#FFFFFF#000000##000000
##B270FD1.003.176.636.63
#FFFFFF3.171.0021.0021.00
#0000006.6321.001.001.00
##0000006.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#368FFF
Deuteranopia (green-blind)
#4F90FA
Tritanopia (blue-blind)
#A48CAC
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #b270fd;
/* rgb */ color: rgb(178, 112, 253);
/* oklch */ color: oklch(67.8% 0.205 302.9);
Tailwind
colors: {
  custom: {
    50: '#cd9bff',
    500: '#b270fd',
    950: '#000000',
  },
}
SCSS
$custom: #b270fd;
$custom-light: #cd9bff;
$custom-dark: #000000;
JSON
{
  "hex": "#b270fd",
  "rgb": {
    "r": 178,
    "g": 112,
    "b": 253
  },
  "hsl": {
    "h": 268.085,
    "s": 97.241,
    "l": 71.569
  },
  "oklch": {
    "l": 0.67765,
    "c": 0.20459,
    "h": 302.9
  },
  "luminance": 0.28145
}

Semantic roles & 50–950 ramp

primary
#B270FD
secondary
#E6F7D2
accent
#E6007A
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140E18
muted
#827E86

Preview Lab

Preview with #B270FD

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

Preview Lab → · Contrast checker → · Palette generator →

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