#B270F5#B270F5

#B270F5 is a light, vivid violet. Relative luminance 0.276; OKLCH L 67.3% C 0.195 H 304.6°. Best body text is #000000 at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#B270F5
RGBrgb(178, 112, 245)
HSLhsl(270, 87%, 70%)
HSVhsv(270, 54%, 96%)
CMYKcmyk(27.3%, 54.3%, 0%, 3.9%)
CIE-LABlab(59.57, 50.94, -57.10)
CIE-LCHlch(59.57, 76.52, 311.73°)
OKLaboklab(67.29% 0.111 -0.1609)
OKLCHoklch(67.29% 0.195 304.6)
XYZxyz(40.6321, 27.6461, 89.5641)
Luminance0.2765 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B270F5 #B3F570
analogous
#7071F5 #B270F5 #F470F5
triadic
#B270F5 #F5B270 #70F5B2
tetradic
#B270F5 #F57071 #B3F570 #70F5F4
square
#B270F5 #F57071 #B3F570 #70F5F4
split-complementary
#B270F5 #F5F470 #71F570
monochromatic
#750FDB #9337F1 #B270F5 #D1A9F9 #F0E2FD

Accessibility & contrast

On white

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

On black

6.53
#B270F5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B270F5
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B270F5#FFFFFF#000000##000000
##B270F51.003.226.536.53
#FFFFFF3.221.0021.0021.00
#0000006.5321.001.001.00
##0000006.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#408EF9
Deuteranopia (green-blind)
#5790F2
Tritanopia (blue-blind)
#A689A8
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #b270f5;
/* rgb */ color: rgb(178, 112, 245);
/* oklch */ color: oklch(67.3% 0.195 304.6);
Tailwind
colors: {
  custom: {
    50: '#cc9bf9',
    500: '#b270f5',
    950: '#000000',
  },
}
SCSS
$custom: #b270f5;
$custom-light: #cc9bf9;
$custom-dark: #000000;
JSON
{
  "hex": "#b270f5",
  "rgb": {
    "r": 178,
    "g": 112,
    "b": 245
  },
  "hsl": {
    "h": 269.774,
    "s": 86.928,
    "l": 70
  },
  "oklch": {
    "l": 0.67287,
    "c": 0.19546,
    "h": 304.6
  },
  "luminance": 0.27646
}

Semantic roles & 50–950 ramp

primary
#B270F5
secondary
#E1F3CE
accent
#E30274
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140E17
muted
#827E85

Preview Lab

Preview with #B270F5

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

Preview Lab → · Contrast checker → · Palette generator →

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