#B254FF#B254FF

#B254FF is a light, highly saturated violet. Relative luminance 0.230; OKLCH L 64.2% C 0.244 H 305.8°. Best body text is #000000 at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#B254FF
RGBrgb(178, 84, 255)
HSLhsl(273, 100%, 66%)
HSVhsv(273, 67%, 100%)
CMYKcmyk(30.2%, 67.1%, 0%, 0%)
CIE-LABlab(55.10, 66.91, -69.82)
CIE-LCHlch(55.10, 96.70, 313.78°)
OKLaboklab(64.24% 0.1427 -0.1981)
OKLCHoklch(64.24% 0.244 305.8)
XYZxyz(39.5765, 23.0259, 96.9479)
Luminance0.2303 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B254FF #A1FF54
analogous
#5D54FF #B254FF #FF54F7
triadic
#B254FF #FFB254 #54FFB2
tetradic
#B254FF #FF5D54 #A1FF54 #54F7FF
square
#B254FF #FF5D54 #A1FF54 #54F7FF
split-complementary
#B254FF #F7FF54 #54FF5D
monochromatic
#7700D9 #9617FF #B254FF #CE91FF #E9CEFF

Accessibility & contrast

On white

3.75
#B254FF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.61
#B254FF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B254FF
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B254FF#FFFFFF#000000##000000
##B254FF1.003.755.615.61
#FFFFFF3.751.0021.0021.00
#0000005.6121.001.001.00
##0000005.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0081FF
Deuteranopia (green-blind)
#1C84FB
Tritanopia (blue-blind)
#A47AA3
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #b254ff;
/* rgb */ color: rgb(178, 84, 255);
/* oklch */ color: oklch(64.2% 0.244 305.8);
Tailwind
colors: {
  custom: {
    50: '#ce8aff',
    500: '#b254ff',
    950: '#000000',
  },
}
SCSS
$custom: #b254ff;
$custom-light: #ce8aff;
$custom-dark: #000000;
JSON
{
  "hex": "#b254ff",
  "rgb": {
    "r": 178,
    "g": 84,
    "b": 255
  },
  "hsl": {
    "h": 272.982,
    "s": 100,
    "l": 66.471
  },
  "oklch": {
    "l": 0.64236,
    "c": 0.24418,
    "h": 305.8
  },
  "luminance": 0.23026
}

Semantic roles & 50–950 ramp

primary
#B254FF
secondary
#D5F3BC
accent
#E60067
background
#FDF8FF
surface
#FAF0FF
border
#D3CBD7
text
#140C18
muted
#837D86

Preview Lab

Preview with #B254FF

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

Preview Lab → · Contrast checker → · Palette generator →

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