#B25FF2#B25FF2

#B25FF2 is a light, highly saturated violet. Relative luminance 0.241; OKLCH L 64.7% C 0.217 H 307.4°. Best body text is #000000 at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#B25FF2
RGBrgb(178, 95, 242)
HSLhsl(274, 85%, 66%)
HSVhsv(274, 61%, 95%)
CMYKcmyk(26.4%, 60.7%, 0%, 5.1%)
CIE-LABlab(56.15, 58.89, -60.91)
CIE-LCHlch(56.15, 84.72, 314.03°)
OKLaboklab(64.73% 0.1316 -0.172)
OKLCHoklch(64.73% 0.217 307.4)
XYZxyz(38.4760, 24.0607, 86.6044)
Luminance0.2406 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B25FF2 #9FF25F
analogous
#685FF2 #B25FF2 #F25FE8
triadic
#B25FF2 #F2B25F #5FF2B2
tetradic
#B25FF2 #F2685F #9FF25F #5FE8F2
square
#B25FF2 #F2685F #9FF25F #5FE8F2
split-complementary
#B25FF2 #E8F25F #5FF268
monochromatic
#7710C6 #9726ED #B25FF2 #CD98F7 #E8D0FB

Accessibility & contrast

On white

3.61
#B25FF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.81
#B25FF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B25FF2
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B25FF2#FFFFFF#000000##000000
##B25FF21.003.615.815.81
#FFFFFF3.611.0021.0021.00
#0000005.8121.001.001.00
##0000005.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#1384F7
Deuteranopia (green-blind)
#4587EF
Tritanopia (blue-blind)
#A87CA0
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #b25ff2;
/* rgb */ color: rgb(178, 95, 242);
/* oklch */ color: oklch(64.7% 0.217 307.4);
Tailwind
colors: {
  custom: {
    50: '#cd90f7',
    500: '#b25ff2',
    950: '#000000',
  },
}
SCSS
$custom: #b25ff2;
$custom-light: #cd90f7;
$custom-dark: #000000;
JSON
{
  "hex": "#b25ff2",
  "rgb": {
    "r": 178,
    "g": 95,
    "b": 242
  },
  "hsl": {
    "h": 273.878,
    "s": 84.971,
    "l": 66.078
  },
  "oklch": {
    "l": 0.64731,
    "c": 0.21656,
    "h": 307.4
  },
  "luminance": 0.2406
}

Semantic roles & 50–950 ramp

primary
#B25FF2
secondary
#D3EFBE
accent
#E10464
background
#FDF9FF
surface
#FAF1FF
border
#D3CBD7
text
#140D17
muted
#837E85

Preview Lab

Preview with #B25FF2

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

Preview Lab → · Contrast checker → · Palette generator →

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