#B25CEF#B25CEF

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

Color values

HEX#B25CEF
RGBrgb(178, 92, 239)
HSLhsl(275, 82%, 65%)
HSVhsv(275, 62%, 94%)
CMYKcmyk(25.5%, 61.5%, 0%, 6.3%)
CIE-LABlab(55.43, 59.68, -60.39)
CIE-LCHlch(55.43, 84.90, 314.66°)
OKLaboklab(64.16% 0.1352 -0.1704)
OKLCHoklch(64.16% 0.218 308.4)
XYZxyz(37.7641, 23.3518, 84.1626)
Luminance0.2335 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B25CEF #99EF5C
analogous
#685CEF #B25CEF #EF5CE3
triadic
#B25CEF #EFB25C #5CEFB2
tetradic
#B25CEF #EF685C #99EF5C #5CE3EF
square
#B25CEF #EF685C #99EF5C #5CE3EF
split-complementary
#B25CEF #E3EF5C #5CEF68
monochromatic
#7713BE #9824EA #B25CEF #CC94F4 #E7CBFA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B25CEF#FFFFFF#000000##000000
##B25CEF1.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)
#0C81F4
Deuteranopia (green-blind)
#4586EC
Tritanopia (blue-blind)
#A9799D
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #b25cef;
/* rgb */ color: rgb(178, 92, 239);
/* oklch */ color: oklch(64.2% 0.218 308.4);
Tailwind
colors: {
  custom: {
    50: '#cd8ff5',
    500: '#b25cef',
    950: '#000000',
  },
}
SCSS
$custom: #b25cef;
$custom-light: #cd8ff5;
$custom-dark: #000000;
JSON
{
  "hex": "#b25cef",
  "rgb": {
    "r": 178,
    "g": 92,
    "b": 239
  },
  "hsl": {
    "h": 275.102,
    "s": 82.123,
    "l": 64.902
  },
  "oklch": {
    "l": 0.64155,
    "c": 0.21754,
    "h": 308.4
  },
  "luminance": 0.23351
}

Semantic roles & 50–950 ramp

primary
#B25CEF
secondary
#CFECBA
accent
#DF0760
background
#FDF9FF
surface
#FAF1FE
border
#D3CBD6
text
#140D17
muted
#837E85

Preview Lab

Preview with #B25CEF

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

Preview Lab → · Contrast checker → · Palette generator →

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