#B25FF5#B25FF5

#B25FF5 is a light, highly saturated violet. Relative luminance 0.242; OKLCH L 64.9% C 0.220 H 306.8°. Best body text is #000000 at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#B25FF5
RGBrgb(178, 95, 245)
HSLhsl(273, 88%, 67%)
HSVhsv(273, 61%, 96%)
CMYKcmyk(27.3%, 61.2%, 0%, 3.9%)
CIE-LABlab(56.33, 59.56, -62.29)
CIE-LCHlch(56.33, 86.18, 313.72°)
OKLaboklab(64.92% 0.1315 -0.1761)
OKLCHoklch(64.92% 0.22 306.8)
XYZxyz(38.9303, 24.2424, 88.9969)
Luminance0.2424 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B25FF5 #A2F55F
analogous
#675FF5 #B25FF5 #F55FED
triadic
#B25FF5 #F5B25F #5FF5B2
tetradic
#B25FF5 #F5675F #A2F55F #5FEDF5
square
#B25FF5 #F5675F #A2F55F #5FEDF5
split-complementary
#B25FF5 #EDF55F #5FF567
monochromatic
#770DCD #9625F1 #B25FF5 #CE99F9 #E9D2FC

Accessibility & contrast

On white

3.59
#B25FF5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.85
#B25FF5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B25FF5
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B25FF5#FFFFFF#000000##000000
##B25FF51.003.595.855.85
#FFFFFF3.591.0021.0021.00
#0000005.8521.001.001.00
##0000005.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0484FA
Deuteranopia (green-blind)
#4288F2
Tritanopia (blue-blind)
#A77DA1
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #b25ff5;
/* rgb */ color: rgb(178, 95, 245);
/* oklch */ color: oklch(64.9% 0.220 306.8);
Tailwind
colors: {
  custom: {
    50: '#cd91f9',
    500: '#b25ff5',
    950: '#000000',
  },
}
SCSS
$custom: #b25ff5;
$custom-light: #cd91f9;
$custom-dark: #000000;
JSON
{
  "hex": "#b25ff5",
  "rgb": {
    "r": 178,
    "g": 95,
    "b": 245
  },
  "hsl": {
    "h": 273.2,
    "s": 88.235,
    "l": 66.667
  },
  "oklch": {
    "l": 0.64921,
    "c": 0.21973,
    "h": 306.8
  },
  "luminance": 0.24242
}

Semantic roles & 50–950 ramp

primary
#B25FF5
secondary
#D5F0C0
accent
#E50167
background
#FDF9FF
surface
#FAF1FF
border
#D3CBD7
text
#140D17
muted
#837E85

Preview Lab

Preview with #B25FF5

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

Preview Lab → · Contrast checker → · Palette generator →

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