#B258F5#B258F5

#B258F5 is a light, highly saturated violet. Relative luminance 0.230; OKLCH L 64.0% C 0.229 H 307.5°. Best body text is #000000 at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#B258F5
RGBrgb(178, 88, 245)
HSLhsl(274, 89%, 65%)
HSVhsv(274, 64%, 96%)
CMYKcmyk(27.3%, 64.1%, 0%, 3.9%)
CIE-LABlab(55.11, 62.89, -64.25)
CIE-LCHlch(55.11, 89.90, 314.38°)
OKLaboklab(64.04% 0.1394 -0.1818)
OKLCHoklch(64.04% 0.229 307.5)
XYZxyz(38.3278, 23.0375, 88.7960)
Luminance0.2304 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B258F5 #9BF558
analogous
#6358F5 #B258F5 #F558EA
triadic
#B258F5 #F5B258 #58F5B2
tetradic
#B258F5 #F56358 #9BF558 #58EAF5
square
#B258F5 #F56358 #9BF558 #58EAF5
split-complementary
#B258F5 #EAF558 #58F563
monochromatic
#770CC7 #971EF2 #B258F5 #CD92F8 #E7CBFC

Accessibility & contrast

On white

3.75
#B258F5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.61
#B258F5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B258F5
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B258F5#FFFFFF#000000##000000
##B258F51.003.755.615.61
#FFFFFF3.751.0021.0021.00
#0000005.6121.001.001.00
##0000005.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0081FA
Deuteranopia (green-blind)
#3885F1
Tritanopia (blue-blind)
#A7799F
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #b258f5;
/* rgb */ color: rgb(178, 88, 245);
/* oklch */ color: oklch(64.0% 0.229 307.5);
Tailwind
colors: {
  custom: {
    50: '#cd8cf9',
    500: '#b258f5',
    950: '#000000',
  },
}
SCSS
$custom: #b258f5;
$custom-light: #cd8cf9;
$custom-dark: #000000;
JSON
{
  "hex": "#b258f5",
  "rgb": {
    "r": 178,
    "g": 88,
    "b": 245
  },
  "hsl": {
    "h": 274.395,
    "s": 88.701,
    "l": 65.294
  },
  "oklch": {
    "l": 0.6404,
    "c": 0.22906,
    "h": 307.5
  },
  "luminance": 0.23037
}

Semantic roles & 50–950 ramp

primary
#B258F5
secondary
#D1EFBA
accent
#E50062
background
#FDF8FF
surface
#FAF0FF
border
#D3CBD7
text
#140C17
muted
#837D85

Preview Lab

Preview with #B258F5

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

Preview Lab → · Contrast checker → · Palette generator →

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