#7235BB#7235BB

#7235BB is a mid, vivid violet. Relative luminance 0.097; OKLCH L 48.3% C 0.198 H 299.7°. Best body text is #FFFFFF at 7.14:1 contrast (WCAG AA passes).

Color values

HEX#7235BB
RGBrgb(114, 53, 187)
HSLhsl(267, 56%, 47%)
HSVhsv(267, 72%, 73%)
CMYKcmyk(39%, 71.7%, 0%, 26.7%)
CIE-LABlab(37.32, 52.88, -60.26)
CIE-LCHlch(37.32, 80.17, 311.27°)
OKLaboklab(48.32% 0.098 -0.172)
OKLCHoklch(48.32% 0.198 299.7)
XYZxyz(17.1799, 9.7113, 47.9734)
Luminance0.0971 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7235BB #7EBB35
analogous
#353BBB #7235BB #B535BB
triadic
#7235BB #BB7235 #35BB72
tetradic
#7235BB #BB353B #7EBB35 #35BBB5
square
#7235BB #BB353B #7EBB35 #35BBB5
split-complementary
#7235BB #BBB535 #3BBB35
monochromatic
#381A5C #55278B #7235BB #915CD1 #B28CDE

Accessibility & contrast

On white

7.14
#7235BB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#7235BB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7235BB
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7235BB#FFFFFF#000000##FFFFFF
##7235BB1.007.142.947.14
#FFFFFF7.141.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058BF
Deuteranopia (green-blind)
#0057B8
Tritanopia (blue-blind)
#615675
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #7235bb;
/* rgb */ color: rgb(114, 53, 187);
/* oklch */ color: oklch(48.3% 0.198 299.7);
Tailwind
colors: {
  custom: {
    50: '#a172d0',
    500: '#7235bb',
    950: '#000000',
  },
}
SCSS
$custom: #7235bb;
$custom-light: #a172d0;
$custom-dark: #000000;
JSON
{
  "hex": "#7235bb",
  "rgb": {
    "r": 114,
    "g": 53,
    "b": 187
  },
  "hsl": {
    "h": 267.313,
    "s": 55.833,
    "l": 47.059
  },
  "oklch": {
    "l": 0.48319,
    "c": 0.19795,
    "h": 299.7
  },
  "luminance": 0.09711
}

Semantic roles & 50–950 ramp

primary
#7235BB
secondary
#A9C983
accent
#DF499B
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#0F0814
muted
#7F7B82

Preview Lab

Preview with #7235BB

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

Preview Lab → · Contrast checker → · Palette generator →

#7235BB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva