#B140FF#B140FF

#B140FF is a light, highly saturated violet. Relative luminance 0.202; OKLCH L 62.1% C 0.266 H 307.0°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#B140FF
RGBrgb(177, 64, 255)
HSLhsl(275, 100%, 63%)
HSVhsv(275, 75%, 100%)
CMYKcmyk(30.6%, 74.9%, 0%, 0%)
CIE-LABlab(52.10, 74.84, -74.69)
CIE-LCHlch(52.10, 105.73, 315.06°)
OKLaboklab(62.08% 0.16 -0.2123)
OKLCHoklch(62.08% 0.266 307)
XYZxyz(38.0110, 20.2344, 96.4915)
Luminance0.2023 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B140FF #8EFF40
analogous
#5140FF #B140FF #FF40EE
triadic
#B140FF #FFB140 #40FFB1
tetradic
#B140FF #FF5140 #8EFF40 #40EEFF
square
#B140FF #FF5140 #8EFF40 #40EEFF
split-complementary
#B140FF #EEFF40 #40FF51
monochromatic
#7400C5 #9803FF #B140FF #CA7DFF #E3BAFF

Accessibility & contrast

On white

4.16
#B140FF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#B140FF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B140FF
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B140FF#FFFFFF#000000##000000
##B140FF1.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079FF
Deuteranopia (green-blind)
#007DFB
Tritanopia (blue-blind)
#A4709E
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #b140ff;
/* rgb */ color: rgb(177, 64, 255);
/* oklch */ color: oklch(62.1% 0.266 307.0);
Tailwind
colors: {
  custom: {
    50: '#ce80ff',
    500: '#b140ff',
    950: '#000000',
  },
}
SCSS
$custom: #b140ff;
$custom-light: #ce80ff;
$custom-dark: #000000;
JSON
{
  "hex": "#b140ff",
  "rgb": {
    "r": 177,
    "g": 64,
    "b": 255
  },
  "hsl": {
    "h": 275.497,
    "s": 100,
    "l": 62.549
  },
  "oklch": {
    "l": 0.62083,
    "c": 0.26585,
    "h": 307
  },
  "luminance": 0.20234
}

Semantic roles & 50–950 ramp

primary
#B140FF
secondary
#C7F0AB
accent
#E6005E
background
#FDF8FF
surface
#FAEFFF
border
#D3CAD7
text
#150B18
muted
#837C86

Preview Lab

Preview with #B140FF

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

Preview Lab → · Contrast checker → · Palette generator →

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