#B25BF2#B25BF2

#B25BF2 is a light, highly saturated violet. Relative luminance 0.234; OKLCH L 64.2% C 0.222 H 307.8°. Best body text is #000000 at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#B25BF2
RGBrgb(178, 91, 242)
HSLhsl(275, 85%, 65%)
HSVhsv(275, 62%, 95%)
CMYKcmyk(26.4%, 62.4%, 0%, 5.1%)
CIE-LABlab(55.44, 60.82, -62.05)
CIE-LCHlch(55.44, 86.88, 314.42°)
OKLaboklab(64.22% 0.1362 -0.1753)
OKLCHoklch(64.22% 0.222 307.8)
XYZxyz(38.1249, 23.3585, 86.4874)
Luminance0.2336 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B25BF2 #9BF25B
analogous
#675BF2 #B25BF2 #F25BE6
triadic
#B25BF2 #F2B25B #5BF2B2
tetradic
#B25BF2 #F2675B #9BF25B #5BE6F2
square
#B25BF2 #F2675B #9BF25B #5BE6F2
split-complementary
#B25BF2 #E6F25B #5BF267
monochromatic
#770FC3 #9722EE #B25BF2 #CD94F6 #E7CCFB

Accessibility & contrast

On white

3.70
#B25BF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.67
#B25BF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B25BF2
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B25BF2#FFFFFF#000000##000000
##B25BF21.003.705.675.67
#FFFFFF3.701.0021.0021.00
#0000005.6721.001.001.00
##0000005.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0081F7
Deuteranopia (green-blind)
#4086EF
Tritanopia (blue-blind)
#A87A9E
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #b25bf2;
/* rgb */ color: rgb(178, 91, 242);
/* oklch */ color: oklch(64.2% 0.222 307.8);
Tailwind
colors: {
  custom: {
    50: '#cd8ef7',
    500: '#b25bf2',
    950: '#000000',
  },
}
SCSS
$custom: #b25bf2;
$custom-light: #cd8ef7;
$custom-dark: #000000;
JSON
{
  "hex": "#b25bf2",
  "rgb": {
    "r": 178,
    "g": 91,
    "b": 242
  },
  "hsl": {
    "h": 274.57,
    "s": 85.311,
    "l": 65.294
  },
  "oklch": {
    "l": 0.64218,
    "c": 0.22202,
    "h": 307.8
  },
  "luminance": 0.23358
}

Semantic roles & 50–950 ramp

primary
#B25BF2
secondary
#D1EEBB
accent
#E20462
background
#FDF9FF
surface
#FAF1FF
border
#D3CBD7
text
#140D17
muted
#837E85

Preview Lab

Preview with #B25BF2

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

Preview Lab → · Contrast checker → · Palette generator →

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