#B251F3#B251F3

#B251F3 is a light, highly saturated violet. Relative luminance 0.218; OKLCH L 63.1% C 0.236 H 308.6°. Best body text is #000000 at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#B251F3
RGBrgb(178, 81, 243)
HSLhsl(276, 87%, 64%)
HSVhsv(276, 67%, 95%)
CMYKcmyk(26.7%, 66.7%, 0%, 4.7%)
CIE-LABlab(53.84, 65.62, -65.19)
CIE-LCHlch(53.84, 92.50, 315.19°)
OKLaboklab(63.08% 0.1471 -0.1845)
OKLCHoklch(63.08% 0.236 308.6)
XYZxyz(37.4769, 21.8215, 87.0143)
Luminance0.2182 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B251F3 #92F351
analogous
#6151F3 #B251F3 #F351E3
triadic
#B251F3 #F3B251 #51F3B2
tetradic
#B251F3 #F36151 #92F351 #51E3F3
square
#B251F3 #F36151 #92F351 #51E3F3
split-complementary
#B251F3 #E3F351 #51F361
monochromatic
#760DBD #9918EF #B251F3 #CB8AF7 #E5C4FB

Accessibility & contrast

On white

3.91
#B251F3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.36
#B251F3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B251F3
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B251F3#FFFFFF#000000##000000
##B251F31.003.915.365.36
#FFFFFF3.911.0021.0021.00
#0000005.3621.001.001.00
##0000005.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DF8
Deuteranopia (green-blind)
#3082EF
Tritanopia (blue-blind)
#A8749C
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #b251f3;
/* rgb */ color: rgb(178, 81, 243);
/* oklch */ color: oklch(63.1% 0.236 308.6);
Tailwind
colors: {
  custom: {
    50: '#ce88f8',
    500: '#b251f3',
    950: '#000000',
  },
}
SCSS
$custom: #b251f3;
$custom-light: #ce88f8;
$custom-dark: #000000;
JSON
{
  "hex": "#b251f3",
  "rgb": {
    "r": 178,
    "g": 81,
    "b": 243
  },
  "hsl": {
    "h": 275.926,
    "s": 87.097,
    "l": 63.529
  },
  "oklch": {
    "l": 0.63084,
    "c": 0.23595,
    "h": 308.6
  },
  "luminance": 0.21821
}

Semantic roles & 50–950 ramp

primary
#B251F3
secondary
#CAEDB3
accent
#E4025C
background
#FDF8FF
surface
#FAF0FF
border
#D3CBD7
text
#140C17
muted
#837D85

Preview Lab

Preview with #B251F3

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

Preview Lab → · Contrast checker → · Palette generator →

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