#B255E7#B255E7

#B255E7 is a light, highly saturated violet. Relative luminance 0.217; OKLCH L 62.8% C 0.219 H 311.0°. Best body text is #000000 at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#B255E7
RGBrgb(178, 85, 231)
HSLhsl(278, 75%, 62%)
HSVhsv(278, 63%, 91%)
CMYKcmyk(22.9%, 63.2%, 0%, 9.4%)
CIE-LABlab(53.74, 61.25, -58.62)
CIE-LCHlch(53.74, 84.78, 316.26°)
OKLaboklab(62.78% 0.1435 -0.1652)
OKLCHoklch(62.78% 0.219 311)
XYZxyz(36.0297, 21.7323, 77.8826)
Luminance0.2173 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B255E7 #8AE755
analogous
#6955E7 #B255E7 #E755D3
triadic
#B255E7 #E7B255 #55E7B2
tetradic
#B255E7 #E76955 #8AE755 #55D3E7
square
#B255E7 #E76955 #8AE755 #55D3E7
split-complementary
#B255E7 #D3E755 #55E769
monochromatic
#7518AA #9A20DF #B255E7 #CA8BEF #E3C0F6

Accessibility & contrast

On white

3.93
#B255E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.35
#B255E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B255E7
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B255E7#FFFFFF#000000##000000
##B255E71.003.935.355.35
#FFFFFF3.931.0021.0021.00
#0000005.3521.001.001.00
##0000005.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CEB
Deuteranopia (green-blind)
#4582E4
Tritanopia (blue-blind)
#AB7297
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #b255e7;
/* rgb */ color: rgb(178, 85, 231);
/* oklch */ color: oklch(62.8% 0.219 311.0);
Tailwind
colors: {
  custom: {
    50: '#cd8aef',
    500: '#b255e7',
    950: '#000000',
  },
}
SCSS
$custom: #b255e7;
$custom-light: #cd8aef;
$custom-dark: #000000;
JSON
{
  "hex": "#b255e7",
  "rgb": {
    "r": 178,
    "g": 85,
    "b": 231
  },
  "hsl": {
    "h": 278.219,
    "s": 75.258,
    "l": 61.961
  },
  "oklch": {
    "l": 0.62777,
    "c": 0.21886,
    "h": 311
  },
  "luminance": 0.21731
}

Semantic roles & 50–950 ramp

primary
#B255E7
secondary
#C5E7B1
accent
#D70E57
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#140C16
muted
#837D84

Preview Lab

Preview with #B255E7

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

Preview Lab → · Contrast checker → · Palette generator →

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