#B253E7#B253E7

#B253E7 is a light, highly saturated violet. Relative luminance 0.214; OKLCH L 62.5% C 0.222 H 311.2°. Best body text is #000000 at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#B253E7
RGBrgb(178, 83, 231)
HSLhsl(279, 76%, 62%)
HSVhsv(279, 64%, 91%)
CMYKcmyk(22.9%, 64.1%, 0%, 9.4%)
CIE-LABlab(53.41, 62.17, -59.16)
CIE-LCHlch(53.41, 85.82, 316.42°)
OKLaboklab(62.54% 0.1458 -0.1668)
OKLCHoklch(62.54% 0.222 311.2)
XYZxyz(35.8745, 21.4218, 77.8308)
Luminance0.2142 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B253E7 #88E753
analogous
#6853E7 #B253E7 #E753D2
triadic
#B253E7 #E7B253 #53E7B2
tetradic
#B253E7 #E76853 #88E753 #53D2E7
square
#B253E7 #E76853 #88E753 #53D2E7
split-complementary
#B253E7 #D2E753 #53E768
monochromatic
#7417A8 #991FDE #B253E7 #CA89EE #E2BEF6

Accessibility & contrast

On white

3.97
#B253E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.28
#B253E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B253E7
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B253E7#FFFFFF#000000##000000
##B253E71.003.975.285.28
#FFFFFF3.971.0021.0021.00
#0000005.2821.001.001.00
##0000005.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BEB
Deuteranopia (green-blind)
#4381E4
Tritanopia (blue-blind)
#AB7096
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #b253e7;
/* rgb */ color: rgb(178, 83, 231);
/* oklch */ color: oklch(62.5% 0.222 311.2);
Tailwind
colors: {
  custom: {
    50: '#cd89ef',
    500: '#b253e7',
    950: '#000000',
  },
}
SCSS
$custom: #b253e7;
$custom-light: #cd89ef;
$custom-dark: #000000;
JSON
{
  "hex": "#b253e7",
  "rgb": {
    "r": 178,
    "g": 83,
    "b": 231
  },
  "hsl": {
    "h": 278.514,
    "s": 75.51,
    "l": 61.569
  },
  "oklch": {
    "l": 0.62536,
    "c": 0.22154,
    "h": 311.2
  },
  "luminance": 0.21421
}

Semantic roles & 50–950 ramp

primary
#B253E7
secondary
#C3E6AF
accent
#D80E56
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#140C17
muted
#837D85

Preview Lab

Preview with #B253E7

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

Preview Lab → · Contrast checker → · Palette generator →

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