#B253F2#B253F2

#B253F2 is a light, highly saturated violet. Relative luminance 0.221; OKLCH L 63.2% C 0.232 H 308.6°. Best body text is #000000 at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#B253F2
RGBrgb(178, 83, 242)
HSLhsl(276, 86%, 64%)
HSVhsv(276, 66%, 95%)
CMYKcmyk(26.4%, 65.7%, 0%, 5.1%)
CIE-LABlab(54.09, 64.52, -64.22)
CIE-LCHlch(54.09, 91.03, 315.13°)
OKLaboklab(63.25% 0.1451 -0.1816)
OKLCHoklch(63.25% 0.232 308.6)
XYZxyz(37.4771, 22.0629, 86.2715)
Luminance0.2206 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B253F2 #93F253
analogous
#6253F2 #B253F2 #F253E2
triadic
#B253F2 #F2B253 #53F2B2
tetradic
#B253F2 #F26253 #93F253 #53E2F2
square
#B253F2 #F26253 #93F253 #53E2F2
split-complementary
#B253F2 #E2F253 #53F262
monochromatic
#760EBC #991AEE #B253F2 #CB8CF6 #E5C5FB

Accessibility & contrast

On white

3.88
#B253F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.41
#B253F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B253F2
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B253F2#FFFFFF#000000##000000
##B253F21.003.885.415.41
#FFFFFF3.881.0021.0021.00
#0000005.4121.001.001.00
##0000005.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#007EF7
Deuteranopia (green-blind)
#3582EE
Tritanopia (blue-blind)
#A8759C
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #b253f2;
/* rgb */ color: rgb(178, 83, 242);
/* oklch */ color: oklch(63.2% 0.232 308.6);
Tailwind
colors: {
  custom: {
    50: '#ce89f7',
    500: '#b253f2',
    950: '#000000',
  },
}
SCSS
$custom: #b253f2;
$custom-light: #ce89f7;
$custom-dark: #000000;
JSON
{
  "hex": "#b253f2",
  "rgb": {
    "r": 178,
    "g": 83,
    "b": 242
  },
  "hsl": {
    "h": 275.849,
    "s": 85.946,
    "l": 63.725
  },
  "oklch": {
    "l": 0.63248,
    "c": 0.23246,
    "h": 308.6
  },
  "luminance": 0.22062
}

Semantic roles & 50–950 ramp

primary
#B253F2
secondary
#CBECB4
accent
#E2035D
background
#FDF8FF
surface
#FAF0FF
border
#D3CBD7
text
#140C17
muted
#837D85

Preview Lab

Preview with #B253F2

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

Preview Lab → · Contrast checker → · Palette generator →

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