#B05AFF#B05AFF

#B05AFF is a light, highly saturated violet. Relative luminance 0.238; OKLCH L 64.7% C 0.236 H 304.5°. Best body text is #000000 at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#B05AFF
RGBrgb(176, 90, 255)
HSLhsl(271, 100%, 68%)
HSVhsv(271, 65%, 100%)
CMYKcmyk(31%, 64.7%, 0%, 0%)
CIE-LABlab(55.85, 63.77, -68.62)
CIE-LCHlch(55.85, 93.68, 312.90°)
OKLaboklab(64.72% 0.1339 -0.1947)
OKLCHoklch(64.72% 0.236 304.5)
XYZxyz(39.6066, 23.7626, 97.0884)
Luminance0.2376 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B05AFF #A9FF5A
analogous
#5E5AFF #B05AFF #FF5AFB
triadic
#B05AFF #FFB05A #5AFFB0
tetradic
#B05AFF #FF5E5A #A9FF5A #5AFBFF
square
#B05AFF #FF5E5A #A9FF5A #5AFBFF
split-complementary
#B05AFF #FBFF5A #5AFF5E
monochromatic
#7400DF #931DFF #B05AFF #CD97FF #EBD4FF

Accessibility & contrast

On white

3.65
#B05AFF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.75
#B05AFF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B05AFF
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B05AFF#FFFFFF#000000##000000
##B05AFF1.003.655.755.75
#FFFFFF3.651.0021.0021.00
#0000005.7521.001.001.00
##0000005.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0084FF
Deuteranopia (green-blind)
#2686FB
Tritanopia (blue-blind)
#A17EA5
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #b05aff;
/* rgb */ color: rgb(176, 90, 255);
/* oklch */ color: oklch(64.7% 0.236 304.5);
Tailwind
colors: {
  custom: {
    50: '#cd8eff',
    500: '#b05aff',
    950: '#000000',
  },
}
SCSS
$custom: #b05aff;
$custom-light: #cd8eff;
$custom-dark: #000000;
JSON
{
  "hex": "#b05aff",
  "rgb": {
    "r": 176,
    "g": 90,
    "b": 255
  },
  "hsl": {
    "h": 271.273,
    "s": 100,
    "l": 67.647
  },
  "oklch": {
    "l": 0.64723,
    "c": 0.23629,
    "h": 304.5
  },
  "luminance": 0.23762
}

Semantic roles & 50–950 ramp

primary
#B05AFF
secondary
#D9F4C1
accent
#E6006E
background
#FDF9FF
surface
#FAF1FF
border
#D3CBD7
text
#140D18
muted
#837E86

Preview Lab

Preview with #B05AFF

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

Preview Lab → · Contrast checker → · Palette generator →

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