#B270F7#B270F7

#B270F7 is a light, vivid violet. Relative luminance 0.278; OKLCH L 67.4% C 0.198 H 304.2°. Best body text is #000000 at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#B270F7
RGBrgb(178, 112, 247)
HSLhsl(269, 89%, 70%)
HSVhsv(269, 55%, 97%)
CMYKcmyk(27.9%, 54.7%, 0%, 3.1%)
CIE-LABlab(59.68, 51.40, -58.03)
CIE-LCHlch(59.68, 77.52, 311.53°)
OKLaboklab(67.41% 0.1111 -0.1636)
OKLCHoklch(67.41% 0.198 304.2)
XYZxyz(40.9391, 27.7689, 91.1808)
Luminance0.2777 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B270F7 #B5F770
analogous
#7071F7 #B270F7 #F570F7
triadic
#B270F7 #F7B270 #70F7B2
tetradic
#B270F7 #F77071 #B5F770 #70F7F5
square
#B270F7 #F77071 #B5F770 #70F7F5
split-complementary
#B270F7 #F7F570 #71F770
monochromatic
#740DE0 #9336F4 #B270F7 #D1AAFA #EFE2FD

Accessibility & contrast

On white

3.20
#B270F7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.55
#B270F7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B270F7
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B270F7#FFFFFF#000000##000000
##B270F71.003.206.556.55
#FFFFFF3.201.0021.0021.00
#0000006.5521.001.001.00
##0000006.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E8EFB
Deuteranopia (green-blind)
#5590F4
Tritanopia (blue-blind)
#A68AA9
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #b270f7;
/* rgb */ color: rgb(178, 112, 247);
/* oklch */ color: oklch(67.4% 0.198 304.2);
Tailwind
colors: {
  custom: {
    50: '#cc9bfa',
    500: '#b270f7',
    950: '#000000',
  },
}
SCSS
$custom: #b270f7;
$custom-light: #cc9bfa;
$custom-dark: #000000;
JSON
{
  "hex": "#b270f7",
  "rgb": {
    "r": 178,
    "g": 112,
    "b": 247
  },
  "hsl": {
    "h": 269.333,
    "s": 89.404,
    "l": 70.392
  },
  "oklch": {
    "l": 0.67406,
    "c": 0.19775,
    "h": 304.2
  },
  "luminance": 0.27769
}

Semantic roles & 50–950 ramp

primary
#B270F7
secondary
#E2F4CF
accent
#E60075
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140E17
muted
#827E85

Preview Lab

Preview with #B270F7

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

Preview Lab → · Contrast checker → · Palette generator →

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