#B258FF#B258FF

#B258FF is a light, highly saturated violet. Relative luminance 0.237; OKLCH L 64.7% C 0.239 H 305.4°. Best body text is #000000 at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#B258FF
RGBrgb(178, 88, 255)
HSLhsl(272, 100%, 67%)
HSVhsv(272, 65%, 100%)
CMYKcmyk(30.2%, 65.5%, 0%, 0%)
CIE-LABlab(55.75, 65.10, -68.77)
CIE-LCHlch(55.75, 94.70, 313.43°)
OKLaboklab(64.7% 0.1386 -0.195)
OKLCHoklch(64.7% 0.239 305.4)
XYZxyz(39.8958, 23.6647, 97.0543)
Luminance0.2366 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B258FF #A5FF58
analogous
#5E58FF #B258FF #FF58F9
triadic
#B258FF #FFB258 #58FFB2
tetradic
#B258FF #FF5E58 #A5FF58 #58F9FF
square
#B258FF #FF5E58 #A5FF58 #58F9FF
split-complementary
#B258FF #F9FF58 #58FF5E
monochromatic
#7700DD #961BFF #B258FF #CE95FF #EAD2FF

Accessibility & contrast

On white

3.66
#B258FF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.73
#B258FF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B258FF
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B258FF#FFFFFF#000000##000000
##B258FF1.003.665.735.73
#FFFFFF3.661.0021.0021.00
#0000005.7321.001.001.00
##0000005.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0083FF
Deuteranopia (green-blind)
#2686FB
Tritanopia (blue-blind)
#A47DA4
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #b258ff;
/* rgb */ color: rgb(178, 88, 255);
/* oklch */ color: oklch(64.7% 0.239 305.4);
Tailwind
colors: {
  custom: {
    50: '#ce8dff',
    500: '#b258ff',
    950: '#000000',
  },
}
SCSS
$custom: #b258ff;
$custom-light: #ce8dff;
$custom-dark: #000000;
JSON
{
  "hex": "#b258ff",
  "rgb": {
    "r": 178,
    "g": 88,
    "b": 255
  },
  "hsl": {
    "h": 272.335,
    "s": 100,
    "l": 67.255
  },
  "oklch": {
    "l": 0.64703,
    "c": 0.23926,
    "h": 305.4
  },
  "luminance": 0.23664
}

Semantic roles & 50–950 ramp

primary
#B258FF
secondary
#D7F4BF
accent
#E6006A
background
#FDF8FF
surface
#FAF0FF
border
#D3CBD7
text
#140D18
muted
#837D86

Preview Lab

Preview with #B258FF

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

Preview Lab → · Contrast checker → · Palette generator →

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