#B458F2#B458F2

#B458F2 is a light, highly saturated violet. Relative luminance 0.231; OKLCH L 64.1% C 0.227 H 308.8°. Best body text is #000000 at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#B458F2
RGBrgb(180, 88, 242)
HSLhsl(276, 86%, 65%)
HSVhsv(276, 64%, 95%)
CMYKcmyk(25.6%, 63.6%, 0%, 5.1%)
CIE-LABlab(55.17, 62.66, -62.47)
CIE-LCHlch(55.17, 88.48, 315.09°)
OKLaboklab(64.08% 0.1421 -0.1765)
OKLCHoklch(64.08% 0.227 308.8)
XYZxyz(38.3359, 23.0942, 86.4253)
Luminance0.2309 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B458F2 #96F258
analogous
#6758F2 #B458F2 #F258E3
triadic
#B458F2 #F2B458 #58F2B4
tetradic
#B458F2 #F26758 #96F258 #58E3F2
square
#B458F2 #F26758 #96F258 #58E3F2
split-complementary
#B458F2 #E3F258 #58F267
monochromatic
#790FC1 #9A1FEE #B458F2 #CE91F6 #E7CAFB

Accessibility & contrast

On white

3.74
#B458F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.62
#B458F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B458F2
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B458F2#FFFFFF#000000##000000
##B458F21.003.745.625.62
#FFFFFF3.741.0021.0021.00
#0000005.6221.001.001.00
##0000005.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0080F7
Deuteranopia (green-blind)
#3F85EF
Tritanopia (blue-blind)
#AB779D
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #b458f2;
/* rgb */ color: rgb(180, 88, 242);
/* oklch */ color: oklch(64.1% 0.227 308.8);
Tailwind
colors: {
  custom: {
    50: '#cf8cf7',
    500: '#b458f2',
    950: '#000000',
  },
}
SCSS
$custom: #b458f2;
$custom-light: #cf8cf7;
$custom-dark: #000000;
JSON
{
  "hex": "#b458f2",
  "rgb": {
    "r": 180,
    "g": 88,
    "b": 242
  },
  "hsl": {
    "h": 275.844,
    "s": 85.556,
    "l": 64.706
  },
  "oklch": {
    "l": 0.64075,
    "c": 0.22657,
    "h": 308.8
  },
  "luminance": 0.23094
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B458F2

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

Preview Lab → · Contrast checker → · Palette generator →

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