#B290F8#B290F8

#B290F8 is a light, vivid violet. Relative luminance 0.362; OKLCH L 72.6% C 0.150 H 297.6°. Best body text is #000000 at 8.24:1 contrast (WCAG AA passes).

Color values

HEX#B290F8
RGBrgb(178, 144, 248)
HSLhsl(260, 88%, 77%)
HSVhsv(260, 42%, 97%)
CMYKcmyk(28.2%, 41.9%, 0%, 2.7%)
CIE-LABlab(66.66, 34.17, -47.50)
CIE-LCHlch(66.66, 58.52, 305.73°)
OKLaboklab(72.63% 0.0695 -0.1329)
OKLCHoklch(72.63% 0.15 297.6)
XYZxyz(45.2726, 36.1884, 93.3886)
Luminance0.3619 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B290F8 #D6F890
analogous
#90A2F8 #B290F8 #E690F8
triadic
#B290F8 #F8B290 #90F8B2
tetradic
#B290F8 #F890A2 #D6F890 #90F8E6
square
#B290F8 #F890A2 #D6F890 #90F8E6
split-complementary
#B290F8 #F8E690 #A2F890
monochromatic
#621DF1 #8A56F4 #B290F8 #DACAFC #EBE2FD

Accessibility & contrast

On white

2.55
#B290F8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.24
#B290F8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B290F8
8.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B290F8#FFFFFF#000000##000000
##B290F81.002.558.248.24
#FFFFFF2.551.0021.0021.00
#0000008.2421.001.001.00
##0000008.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#72A2FC
Deuteranopia (green-blind)
#79A1F5
Tritanopia (blue-blind)
#A4A2B8
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #b290f8;
/* rgb */ color: rgb(178, 144, 248);
/* oklch */ color: oklch(72.6% 0.150 297.6);
Tailwind
colors: {
  custom: {
    50: '#cbb1fb',
    500: '#b290f8',
    950: '#000000',
  },
}
SCSS
$custom: #b290f8;
$custom-light: #cbb1fb;
$custom-dark: #000000;
JSON
{
  "hex": "#b290f8",
  "rgb": {
    "r": 178,
    "g": 144,
    "b": 248
  },
  "hsl": {
    "h": 259.615,
    "s": 88.136,
    "l": 76.863
  },
  "oklch": {
    "l": 0.72633,
    "c": 0.15003,
    "h": 297.6
  },
  "luminance": 0.36189
}

Semantic roles & 50–950 ramp

primary
#B290F8
secondary
#EBF5D6
accent
#E5019A
background
#FCFAFF
surface
#F9F5FF
border
#D2CFD7
text
#131017
muted
#827F85

Preview Lab

Preview with #B290F8

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

Preview Lab → · Contrast checker → · Palette generator →

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