#B270FC#B270FC

#B270FC is a light, highly saturated violet. Relative luminance 0.281; OKLCH L 67.7% C 0.203 H 303.1°. Best body text is #000000 at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#B270FC
RGBrgb(178, 112, 252)
HSLhsl(268, 96%, 71%)
HSVhsv(268, 56%, 99%)
CMYKcmyk(29.4%, 55.6%, 0%, 1.2%)
CIE-LABlab(59.96, 52.57, -60.34)
CIE-LCHlch(59.96, 80.03, 311.06°)
OKLaboklab(67.71% 0.1112 -0.1704)
OKLCHoklch(67.71% 0.203 303.1)
XYZxyz(41.7210, 28.0816, 95.2989)
Luminance0.2808 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B270FC #BAFC70
analogous
#7074FC #B270FC #F870FC
triadic
#B270FC #FCB270 #70FCB2
tetradic
#B270FC #FC7074 #BAFC70 #70FCF8
square
#B270FC #FC7074 #BAFC70 #70FCF8
split-complementary
#B270FC #FCF870 #74FC70
monochromatic
#7205ED #9234FB #B270FC #D2ACFD #EFE1FE

Accessibility & contrast

On white

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

On black

6.62
#B270FC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B270FC
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B270FC#FFFFFF#000000##000000
##B270FC1.003.176.626.62
#FFFFFF3.171.0021.0021.00
#0000006.6221.001.001.00
##0000006.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#388FFF
Deuteranopia (green-blind)
#5090F9
Tritanopia (blue-blind)
#A48BAC
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #b270fc;
/* rgb */ color: rgb(178, 112, 252);
/* oklch */ color: oklch(67.7% 0.203 303.1);
Tailwind
colors: {
  custom: {
    50: '#cd9bfe',
    500: '#b270fc',
    950: '#000000',
  },
}
SCSS
$custom: #b270fc;
$custom-light: #cd9bfe;
$custom-dark: #000000;
JSON
{
  "hex": "#b270fc",
  "rgb": {
    "r": 178,
    "g": 112,
    "b": 252
  },
  "hsl": {
    "h": 268.286,
    "s": 95.89,
    "l": 71.373
  },
  "oklch": {
    "l": 0.67705,
    "c": 0.20345,
    "h": 303.1
  },
  "luminance": 0.28082
}

Semantic roles & 50–950 ramp

primary
#B270FC
secondary
#E5F6D2
accent
#E60079
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140E18
muted
#827E86

Preview Lab

Preview with #B270FC

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

Preview Lab → · Contrast checker → · Palette generator →

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