#B25FC2#B25FC2

#B25FC2 is a mid, vivid purple. Relative luminance 0.215; OKLCH L 62.0% C 0.167 H 321.0°. Best body text is #000000 at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#B25FC2
RGBrgb(178, 95, 194)
HSLhsl(290, 45%, 57%)
HSVhsv(290, 51%, 76%)
CMYKcmyk(8.2%, 51%, 0%, 23.9%)
CIE-LABlab(53.54, 48.77, -37.91)
CIE-LCHlch(53.54, 61.77, 322.14°)
OKLaboklab(61.98% 0.1294 -0.1049)
OKLCHoklch(61.98% 0.167 321)
XYZxyz(32.1888, 21.5458, 53.4917)
Luminance0.2154 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B25FC2 #6FC25F
analogous
#815FC2 #B25FC2 #C25FA1
triadic
#B25FC2 #C2B25F #5FC2B2
tetradic
#B25FC2 #C2815F #6FC25F #5FA1C2
square
#B25FC2 #C2815F #6FC25F #5FA1C2
split-complementary
#B25FC2 #A1C25F #5FC281
monochromatic
#6D2E79 #943FA5 #B25FC2 #C78BD3 #DDB8E4

Accessibility & contrast

On white

3.96
#B25FC2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.31
#B25FC2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B25FC2
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B25FC2#FFFFFF#000000##000000
##B25FC21.003.965.315.31
#FFFFFF3.961.0021.0021.00
#0000005.3121.001.001.00
##0000005.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F7AC5
Deuteranopia (green-blind)
#6883BF
Tritanopia (blue-blind)
#B46C88
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #b25fc2;
/* rgb */ color: rgb(178, 95, 194);
/* oklch */ color: oklch(62.0% 0.167 321.0);
Tailwind
colors: {
  custom: {
    50: '#cb8fd5',
    500: '#b25fc2',
    950: '#000000',
  },
}
SCSS
$custom: #b25fc2;
$custom-light: #cb8fd5;
$custom-dark: #000000;
JSON
{
  "hex": "#b25fc2",
  "rgb": {
    "r": 178,
    "g": 95,
    "b": 194
  },
  "hsl": {
    "h": 290.303,
    "s": 44.796,
    "l": 56.667
  },
  "oklch": {
    "l": 0.6198,
    "c": 0.16658,
    "h": 321
  },
  "luminance": 0.21544
}

Semantic roles & 50–950 ramp

primary
#B25FC2
secondary
#B1D3AA
accent
#D45368
background
#FCF9FD
surface
#F9F1FA
border
#D2CBD3
text
#140D14
muted
#827E83

Preview Lab

Preview with #B25FC2

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

Preview Lab → · Contrast checker → · Palette generator →

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