#B283F7#B283F7

#B283F7 is a light, vivid violet. Relative luminance 0.324; OKLCH L 70.4% C 0.169 H 300.9°. Best body text is #000000 at 7.48:1 contrast (WCAG AA passes).

Color values

HEX#B283F7
RGBrgb(178, 131, 247)
HSLhsl(264, 88%, 74%)
HSVhsv(264, 47%, 97%)
CMYKcmyk(27.9%, 47%, 0%, 3.1%)
CIE-LABlab(63.68, 41.15, -51.66)
CIE-LCHlch(63.68, 66.05, 308.54°)
OKLaboklab(70.38% 0.0867 -0.145)
OKLCHoklch(70.38% 0.169 300.9)
XYZxyz(43.2611, 32.4128, 91.9548)
Luminance0.3241 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B283F7 #C8F783
analogous
#838EF7 #B283F7 #EC83F7
triadic
#B283F7 #F7B283 #83F7B2
tetradic
#B283F7 #F7838E #C8F783 #83F7EC
square
#B283F7 #F7838E #C8F783 #83F7EC
split-complementary
#B283F7 #F7EC83 #8EF783
monochromatic
#6B10F0 #8E4AF3 #B283F7 #D6BCFB #EDE2FD

Accessibility & contrast

On white

2.81
#B283F7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.48
#B283F7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B283F7
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B283F7#FFFFFF#000000##000000
##B283F71.002.817.487.48
#FFFFFF2.811.0021.0021.00
#0000007.4821.001.001.00
##0000007.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#609AFB
Deuteranopia (green-blind)
#6B9AF4
Tritanopia (blue-blind)
#A598B1
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #b283f7;
/* rgb */ color: rgb(178, 131, 247);
/* oklch */ color: oklch(70.4% 0.169 300.9);
Tailwind
colors: {
  custom: {
    50: '#cca8fa',
    500: '#b283f7',
    950: '#000000',
  },
}
SCSS
$custom: #b283f7;
$custom-light: #cca8fa;
$custom-dark: #000000;
JSON
{
  "hex": "#b283f7",
  "rgb": {
    "r": 178,
    "g": 131,
    "b": 247
  },
  "hsl": {
    "h": 264.31,
    "s": 87.879,
    "l": 74.118
  },
  "oklch": {
    "l": 0.70376,
    "c": 0.16894,
    "h": 300.9
  },
  "luminance": 0.32413
}

Semantic roles & 50–950 ramp

primary
#B283F7
secondary
#E8F5D6
accent
#E40188
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#141017
muted
#827F85

Preview Lab

Preview with #B283F7

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

Preview Lab → · Contrast checker → · Palette generator →

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