#7235BE#7235BE

#7235BE is a mid, highly saturated violet. Relative luminance 0.098; OKLCH L 48.6% C 0.201 H 299.0°. Best body text is #FFFFFF at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#7235BE
RGBrgb(114, 53, 190)
HSLhsl(267, 56%, 48%)
HSVhsv(267, 72%, 75%)
CMYKcmyk(40%, 72.1%, 0%, 25.5%)
CIE-LABlab(37.56, 53.63, -61.64)
CIE-LCHlch(37.56, 81.70, 311.03°)
OKLaboklab(48.56% 0.0974 -0.176)
OKLCHoklch(48.56% 0.201 299)
XYZxyz(17.5044, 9.8411, 49.6825)
Luminance0.0984 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7235BE #81BE35
analogous
#353DBE #7235BE #B635BE
triadic
#7235BE #BE7235 #35BE72
tetradic
#7235BE #BE353D #81BE35 #35BEB6
square
#7235BE #BE353D #81BE35 #35BEB6
split-complementary
#7235BE #BEB635 #3DBE35
monochromatic
#391A5E #55288E #7235BE #925ED2 #B28EDF

Accessibility & contrast

On white

7.07
#7235BE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#7235BE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7235BE
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7235BE#FFFFFF#000000##FFFFFF
##7235BE1.007.072.977.07
#FFFFFF7.071.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058C2
Deuteranopia (green-blind)
#0057BB
Tritanopia (blue-blind)
#605776
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #7235be;
/* rgb */ color: rgb(114, 53, 190);
/* oklch */ color: oklch(48.6% 0.201 299.0);
Tailwind
colors: {
  custom: {
    50: '#a172d3',
    500: '#7235be',
    950: '#000000',
  },
}
SCSS
$custom: #7235be;
$custom-light: #a172d3;
$custom-dark: #000000;
JSON
{
  "hex": "#7235be",
  "rgb": {
    "r": 114,
    "g": 53,
    "b": 190
  },
  "hsl": {
    "h": 266.715,
    "s": 56.379,
    "l": 47.647
  },
  "oklch": {
    "l": 0.48561,
    "c": 0.20119,
    "h": 299
  },
  "luminance": 0.09841
}

Semantic roles & 50–950 ramp

primary
#7235BE
secondary
#ABCA85
accent
#E0489C
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100814
muted
#7F7B83

Preview Lab

Preview with #7235BE

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

Preview Lab → · Contrast checker → · Palette generator →

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