#B283F1#B283F1

#B283F1 is a light, vivid violet. Relative luminance 0.320; OKLCH L 70.1% C 0.162 H 302.1°. Best body text is #000000 at 7.41:1 contrast (WCAG AA passes).

Color values

HEX#B283F1
RGBrgb(178, 131, 241)
HSLhsl(266, 80%, 73%)
HSVhsv(266, 46%, 95%)
CMYKcmyk(26.1%, 45.6%, 0%, 5.5%)
CIE-LABlab(63.38, 39.73, -48.83)
CIE-LCHlch(63.38, 62.95, 309.13°)
OKLaboklab(70.05% 0.0859 -0.1368)
OKLCHoklch(70.05% 0.162 302.1)
XYZxyz(42.3501, 32.0484, 87.1569)
Luminance0.3205 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B283F1 #C2F183
analogous
#838BF1 #B283F1 #E983F1
triadic
#B283F1 #F1B283 #83F1B2
tetradic
#B283F1 #F1838B #C2F183 #83F1E9
square
#B283F1 #F1838B #C2F183 #83F1E9
split-complementary
#B283F1 #F1E983 #8BF183
monochromatic
#6E19E0 #904CEB #B283F1 #D4BAF7 #EEE4FC

Accessibility & contrast

On white

2.83
#B283F1 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.41
#B283F1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B283F1
7.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B283F1#FFFFFF#000000##000000
##B283F11.002.837.417.41
#FFFFFF2.831.0021.0021.00
#0000007.4121.001.001.00
##0000007.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6499F5
Deuteranopia (green-blind)
#6F99EE
Tritanopia (blue-blind)
#A796AF
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #b283f1;
/* rgb */ color: rgb(178, 131, 241);
/* oklch */ color: oklch(70.1% 0.162 302.1);
Tailwind
colors: {
  custom: {
    50: '#cba8f6',
    500: '#b283f1',
    950: '#000000',
  },
}
SCSS
$custom: #b283f1;
$custom-light: #cba8f6;
$custom-dark: #000000;
JSON
{
  "hex": "#b283f1",
  "rgb": {
    "r": 178,
    "g": 131,
    "b": 241
  },
  "hsl": {
    "h": 265.636,
    "s": 79.71,
    "l": 72.941
  },
  "oklch": {
    "l": 0.70054,
    "c": 0.16152,
    "h": 302.1
  },
  "luminance": 0.32048
}

Semantic roles & 50–950 ramp

primary
#B283F1
secondary
#E8F4D7
accent
#DC0982
background
#FCFAFF
surface
#F9F4FE
border
#D2CED6
text
#140F17
muted
#827F85

Preview Lab

Preview with #B283F1

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

Preview Lab → · Contrast checker → · Palette generator →

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